Click here to Skip to main content
15,912,069 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Weird MFC problem Pin
ThatsAlok4-Oct-06 7:59
ThatsAlok4-Oct-06 7:59 
AnswerRe: Weird MFC problem Pin
Mark Salsbery4-Oct-06 8:35
Mark Salsbery4-Oct-06 8:35 
GeneralRe: Weird MFC problem Pin
Johpoke4-Oct-06 8:42
Johpoke4-Oct-06 8:42 
GeneralRe: Weird MFC problem Pin
Mark Salsbery4-Oct-06 9:03
Mark Salsbery4-Oct-06 9:03 
GeneralRe: Weird MFC problem Pin
Johpoke4-Oct-06 9:05
Johpoke4-Oct-06 9:05 
GeneralRe: Weird MFC problem Pin
Mark Salsbery4-Oct-06 9:14
Mark Salsbery4-Oct-06 9:14 
GeneralRe: Weird MFC problem Pin
Johpoke4-Oct-06 9:16
Johpoke4-Oct-06 9:16 
AnswerRe: Weird MFC problem Pin
Chris Meech4-Oct-06 8:46
Chris Meech4-Oct-06 8:46 
The thread that is doing the sleeping is also the thread that would be 'painting' the new text. When your method is complete, there will be four paint messages that are handled one right after the other in to quick a fashion so that you see only the final result.

As to how to 'fix' this, you can implement a timer instead of sleeping and repond to the timer messages.

Chris Meech

I am Canadian. [heard in a local bar]

Nobody likes jerks. [espeir]

The zen of the soapbox is hard to attain...[Jörgen Sigvardsson]

I wish I could remember what it was like to only have a short term memory.[David Kentley]

AnswerRe: Weird MFC problem Pin
David Crow4-Oct-06 9:10
David Crow4-Oct-06 9:10 
AnswerRe: Weird MFC problem Pin
Johpoke4-Oct-06 9:18
Johpoke4-Oct-06 9:18 
QuestionConverting to VC8 Pin
Waldermort4-Oct-06 7:41
Waldermort4-Oct-06 7:41 
AnswerRe: Converting to VC8 Pin
Chris Meech4-Oct-06 7:48
Chris Meech4-Oct-06 7:48 
GeneralRe: Converting to VC8 Pin
Waldermort4-Oct-06 8:01
Waldermort4-Oct-06 8:01 
GeneralRe: Converting to VC8 Pin
Chris Meech4-Oct-06 8:33
Chris Meech4-Oct-06 8:33 
GeneralRe: Converting to VC8 Pin
Waldermort4-Oct-06 8:11
Waldermort4-Oct-06 8:11 
AnswerRe: Converting to VC8 Pin
Nish Nishant4-Oct-06 8:07
sitebuilderNish Nishant4-Oct-06 8:07 
AnswerRe: Converting to VC8 Pin
Nish Nishant4-Oct-06 8:10
sitebuilderNish Nishant4-Oct-06 8:10 
GeneralRe: Converting to VC8 Pin
Waldermort4-Oct-06 8:14
Waldermort4-Oct-06 8:14 
AnswerRe: Converting to VC8 Pin
David Crow4-Oct-06 9:08
David Crow4-Oct-06 9:08 
AnswerRe: Converting to VC8 Pin
Christian Graus4-Oct-06 9:44
protectorChristian Graus4-Oct-06 9:44 
GeneralRe: Converting to VC8 Pin
Waldermort4-Oct-06 9:55
Waldermort4-Oct-06 9:55 
GeneralRe: Converting to VC8 Pin
Christian Graus4-Oct-06 10:03
protectorChristian Graus4-Oct-06 10:03 
GeneralRe: Converting to VC8 Pin
Waldermort4-Oct-06 10:46
Waldermort4-Oct-06 10:46 
AnswerRe: Converting to VC8 Pin
Michael Dunn4-Oct-06 14:34
sitebuilderMichael Dunn4-Oct-06 14:34 
AnswerRe: Converting to VC8 Pin
jmtrnr6-Oct-06 2:01
jmtrnr6-Oct-06 2:01 

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.