Click here to Skip to main content
15,924,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Ein Dialog drei Listboxes Pin
MrLonely24-Jan-01 6:59
MrLonely24-Jan-01 6:59 
GeneralFocus Changing With Multiple Top Level Pin
23-Jan-01 10:18
suss23-Jan-01 10:18 
QuestionHow modify contextmenu of IE? Pin
Tom K23-Jan-01 6:13
Tom K23-Jan-01 6:13 
GeneralWindows Media Encoder/Format SDKs Pin
Roger23-Jan-01 2:54
Roger23-Jan-01 2:54 
GeneralWindows Media Encoder/Format SDKs Pin
Roger23-Jan-01 2:53
Roger23-Jan-01 2:53 
QuestionHow to draw a bitmap (more than once) without flicker Pin
23-Jan-01 1:50
suss23-Jan-01 1:50 
AnswerRe: How to draw a bitmap (more than once) without flicker Pin
Chris Losinger23-Jan-01 7:18
professionalChris Losinger23-Jan-01 7:18 
AnswerRe: How to draw a bitmap (more than once) without flicker Pin
Christian Graus23-Jan-01 10:53
protectorChristian Graus23-Jan-01 10:53 
Am I right in thinking your OnPaint calls this function and passes it's DC pointer to it ? Any sort of drawing, especially the transparent drawing ( which involves three BLT's ) should be done to a buffer DC, and that DC copied to the screen in one blt. This will save you a world of hurt. Also, if you call Invalidate with a false parameter, it won't erase the background, saving you another flicker. You can override OnEraseBackground, as has been suggested, but I can't imagine it overly likely that you'll never want the erase the background ? For example, overriding it so it is never called will give you some interesting transparency effects where you can see the dialog underneath. ( before you get too excited, when you MOVE the dialog you can see where it WAS, not where it IS ).



Christian

The content of this post is not necessarily the opinion of my yadda yadda yadda.

To understand recursion, we must first understand recursion.
AnswerRe: How to draw a bitmap (more than once) without flicker Pin
23-Jan-01 11:07
suss23-Jan-01 11:07 
QuestionHow to draw a bitmap (more than once) without flicker Pin
23-Jan-01 1:50
suss23-Jan-01 1:50 
GeneralLoading a Font Pin
Bo Helleskov22-Jan-01 23:30
Bo Helleskov22-Jan-01 23:30 
GeneralRe: Loading a Font Pin
Swinefeaster13-Mar-04 13:17
Swinefeaster13-Mar-04 13:17 
GeneralMemory DC incompatible with Desktop Pin
Enrico Pangan22-Jan-01 23:21
Enrico Pangan22-Jan-01 23:21 
GeneralRe: Memory DC incompatible with Desktop Pin
Chris Losinger23-Jan-01 7:41
professionalChris Losinger23-Jan-01 7:41 
GeneralCPU Usage Pin
.::RockNix::.22-Jan-01 20:44
.::RockNix::.22-Jan-01 20:44 
GeneralRe: CPU Usage Pin
22-Jan-01 22:09
suss22-Jan-01 22:09 
QuestionHow to delete some columns in Open File Common Dialog ? Pin
22-Jan-01 20:32
suss22-Jan-01 20:32 
QuestionHow to put process when the dialog box is shown? Pin
22-Jan-01 15:26
suss22-Jan-01 15:26 
AnswerRe: How to put process when the dialog box is shown? Pin
David Fedolfi23-Jan-01 4:32
David Fedolfi23-Jan-01 4:32 
GeneralGeneral advise needed in handling/storing structured data Pin
Member 671822-Jan-01 13:44
Member 671822-Jan-01 13:44 
GeneralNeed some help with file listings Pin
22-Jan-01 10:32
suss22-Jan-01 10:32 
GeneralRe: Need some help with file listings Pin
Joan M22-Jan-01 12:47
professionalJoan M22-Jan-01 12:47 
GeneralRe: Need some help with file listings Pin
Simon Capewell23-Jan-01 1:55
Simon Capewell23-Jan-01 1:55 
GeneralRe: Need some help with file listings Pin
Joan M24-Jan-01 7:13
professionalJoan M24-Jan-01 7:13 
GeneralMultiple Frame Question Pin
22-Jan-01 6:41
suss22-Jan-01 6:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.