Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? [modified] Pin
abiemann6-Sep-07 8:03
abiemann6-Sep-07 8:03 
GeneralRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
Mark Salsbery6-Sep-07 8:22
Mark Salsbery6-Sep-07 8:22 
GeneralRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
Mark Salsbery6-Sep-07 8:27
Mark Salsbery6-Sep-07 8:27 
abiemann wrote:
I was surprised that it would still flicker; I was hoping that all the graphics operations were done in memory, then simply shown when UpdateWindow was called - thus avoiding flicker.

Nope.  Looking more closely at your code, the only way you'll be able to prevent flicker
is to do the drawing offscreen yourself, then blt the whole thing to the dialog.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? [modified] Pin
abiemann6-Sep-07 8:33
abiemann6-Sep-07 8:33 
QuestionRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
David Crow6-Sep-07 8:41
David Crow6-Sep-07 8:41 
AnswerRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
abiemann6-Sep-07 8:52
abiemann6-Sep-07 8:52 
QuestionRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
David Crow6-Sep-07 8:56
David Crow6-Sep-07 8:56 
AnswerRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
abiemann6-Sep-07 9:00
abiemann6-Sep-07 9:00 
GeneralRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
David Crow6-Sep-07 10:20
David Crow6-Sep-07 10:20 
GeneralRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? [modified] Pin
abiemann6-Sep-07 13:08
abiemann6-Sep-07 13:08 
GeneralRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
Mark Salsbery6-Sep-07 14:31
Mark Salsbery6-Sep-07 14:31 
GeneralRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
David Crow6-Sep-07 17:30
David Crow6-Sep-07 17:30 
QuestionRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
Hamid_RT6-Sep-07 7:33
Hamid_RT6-Sep-07 7:33 
AnswerRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
abiemann6-Sep-07 7:39
abiemann6-Sep-07 7:39 
AnswerRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
Waldermort6-Sep-07 9:31
Waldermort6-Sep-07 9:31 
GeneralRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
Mark Salsbery6-Sep-07 9:45
Mark Salsbery6-Sep-07 9:45 
GeneralRe: Is there an equivalent to SuspendLayout/ResumeLayout for a MFC Dialog ? Pin
abiemann7-Sep-07 11:03
abiemann7-Sep-07 11:03 
QuestionInfinity Symbol Pin
paper676-Sep-07 6:05
paper676-Sep-07 6:05 
AnswerRe: Infinity Symbol Pin
Mark Salsbery6-Sep-07 6:35
Mark Salsbery6-Sep-07 6:35 
AnswerRe: Infinity Symbol Pin
Matthew Faithfull6-Sep-07 6:40
Matthew Faithfull6-Sep-07 6:40 
QuestionLooking for a "Thumb Wheel" control [modified] Pin
bscaer6-Sep-07 4:26
bscaer6-Sep-07 4:26 
AnswerRe: Looking for a "Thumb Wheel" control Pin
led mike6-Sep-07 5:25
led mike6-Sep-07 5:25 
JokeRe: Looking for a "Thumb Wheel" control Pin
Cedric Moonen6-Sep-07 7:21
Cedric Moonen6-Sep-07 7:21 
AnswerRe: Looking for a "Thumb Wheel" control Pin
Hamid_RT6-Sep-07 7:39
Hamid_RT6-Sep-07 7:39 
AnswerRe: Looking for a "Thumb Wheel" control Pin
Waldermort6-Sep-07 9:27
Waldermort6-Sep-07 9:27 

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.