Click here to Skip to main content
15,881,715 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: BeginPaint issues Pin
Waldermort18-Oct-11 21:00
Waldermort18-Oct-11 21:00 
GeneralRe: BeginPaint issues Pin
TheGreatAndPowerfulOz19-Oct-11 5:01
TheGreatAndPowerfulOz19-Oct-11 5:01 
AnswerRe: BeginPaint issues Pin
Chuck O'Toole18-Oct-11 12:52
Chuck O'Toole18-Oct-11 12:52 
GeneralRe: BeginPaint issues Pin
Waldermort18-Oct-11 21:03
Waldermort18-Oct-11 21:03 
GeneralRe: BeginPaint issues Pin
Chuck O'Toole18-Oct-11 23:04
Chuck O'Toole18-Oct-11 23:04 
GeneralRe: BeginPaint issues Pin
Waldermort19-Oct-11 3:46
Waldermort19-Oct-11 3:46 
GeneralRe: BeginPaint issues Pin
Chuck O'Toole19-Oct-11 5:02
Chuck O'Toole19-Oct-11 5:02 
GeneralRe: BeginPaint issues Pin
Waldermort19-Oct-11 5:41
Waldermort19-Oct-11 5:41 
Chuck O'Toole wrote:
Theory goes that the EndPaint() call will take care of the ValidateRect() on the .rcPaint member of the PAINTSTRUCT you received in BeginPaint(). Is that the same thing you are using in your manual ValidateRect() call? Is there a possibility that it is being clobbered during your paint processing? If .rcPaint changed between Begin and End that would explain what you see. You say you use that member to do your re-drawing, read-only?

BeginPaint() actually.

Like you said though, if it were a bug... which makes me think there must be a problem in my code somewhere.

Anyway, found it! Deep in there was a legacy debug routine to update the entire screen. Now to find out who made it and then...

Thanks for the suggestions though.
Waldermort

Questionselect and accept socket calls Pin
vikramlinux18-Oct-11 8:33
vikramlinux18-Oct-11 8:33 
AnswerRe: select and accept socket calls Pin
Richard Andrew x6418-Oct-11 8:39
professionalRichard Andrew x6418-Oct-11 8:39 
AnswerRe: select and accept socket calls Pin
Chuck O'Toole18-Oct-11 10:37
Chuck O'Toole18-Oct-11 10:37 
QuestionHow to use a collection Pin
jkirkerx18-Oct-11 7:45
professionaljkirkerx18-Oct-11 7:45 
AnswerRe: How to use a collection Pin
Richard MacCutchan18-Oct-11 22:44
mveRichard MacCutchan18-Oct-11 22:44 
GeneralRe: How to use a collection Pin
jkirkerx19-Oct-11 5:18
professionaljkirkerx19-Oct-11 5:18 
QuestionCompiling DOS Apps With Windows 7 Pin
softwaremonkey18-Oct-11 7:35
softwaremonkey18-Oct-11 7:35 
AnswerRe: Compiling DOS Apps With Windows 7 Pin
Albert Holguin18-Oct-11 7:44
professionalAlbert Holguin18-Oct-11 7:44 
AnswerRe: 64 bit Windows 7 does not support 16-bit applications Pin
Software_Developer18-Oct-11 7:53
Software_Developer18-Oct-11 7:53 
GeneralRe: 64 bit Windows 7 does not support 16-bit applications Pin
softwaremonkey18-Oct-11 9:53
softwaremonkey18-Oct-11 9:53 
GeneralRe: 64 bit Windows 7 does not support 16-bit applications Pin
enhzflep18-Oct-11 11:52
enhzflep18-Oct-11 11:52 
GeneralRe: 64 bit Windows 7 does not support 16-bit applications Pin
Richard MacCutchan18-Oct-11 22:43
mveRichard MacCutchan18-Oct-11 22:43 
AnswerRe: Compiling DOS Apps With Windows 7 Pin
«_Superman_»18-Oct-11 17:23
professional«_Superman_»18-Oct-11 17:23 
GeneralRe: Compiling DOS Apps With Windows 7 Pin
softwaremonkey18-Oct-11 19:45
softwaremonkey18-Oct-11 19:45 
GeneralRe: run older 16-bit Windows programs on a 64-bit platform Pin
Goto_Label_18-Oct-11 23:23
Goto_Label_18-Oct-11 23:23 
GeneralRe: run older 16-bit Windows programs on a 64-bit platform Pin
softwaremonkey19-Oct-11 7:09
softwaremonkey19-Oct-11 7:09 
Questionc++Safe to use size specifier in enum declaration ? Pin
Maximilien18-Oct-11 4:29
Maximilien18-Oct-11 4:29 

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.