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

C / C++ / MFC

 
QuestionIdentifying WMI Classes Registered ? Pin
Sachinpatole11-Oct-06 19:41
Sachinpatole11-Oct-06 19:41 
QuestionSLIP protocol implementation Pin
Sushmadm11-Oct-06 19:25
Sushmadm11-Oct-06 19:25 
AnswerRe: SLIP protocol implementation Pin
act_x11-Oct-06 20:20
act_x11-Oct-06 20:20 
QuestionDatabase Problem Pin
_anil_11-Oct-06 18:42
_anil_11-Oct-06 18:42 
QuestionProcess Management: Creating an "at" unix style task scheduler Pin
Dest2KO11-Oct-06 18:02
Dest2KO11-Oct-06 18:02 
AnswerRe: Process Management: Creating an "at" unix style task scheduler Pin
David Crow12-Oct-06 3:06
David Crow12-Oct-06 3:06 
GeneralRe: Process Management: Creating an "at" unix style task scheduler Pin
Dest2KO12-Oct-06 8:19
Dest2KO12-Oct-06 8:19 
QuestionRe: Process Management: Creating an "at" unix style task scheduler Pin
David Crow12-Oct-06 8:28
David Crow12-Oct-06 8:28 
AnswerRe: Process Management: Creating an "at" unix style task scheduler Pin
Dest2KO12-Oct-06 8:32
Dest2KO12-Oct-06 8:32 
Generalcreate a CPtrArray Pin
SaptaSri11-Oct-06 17:53
SaptaSri11-Oct-06 17:53 
Questionwindow sizing Pin
Waldermort11-Oct-06 17:22
Waldermort11-Oct-06 17:22 
AnswerRe: window sizing Pin
act_x11-Oct-06 20:25
act_x11-Oct-06 20:25 
AnswerRe: window sizing Pin
PJ Arends11-Oct-06 21:02
professionalPJ Arends11-Oct-06 21:02 
GeneralRe: window sizing Pin
Waldermort11-Oct-06 22:36
Waldermort11-Oct-06 22:36 
AnswerRe: window sizing Pin
James Brown11-Oct-06 22:20
James Brown11-Oct-06 22:20 
GeneralRe: window sizing Pin
Waldermort11-Oct-06 22:44
Waldermort11-Oct-06 22:44 
GeneralRe: window sizing Pin
Mark Salsbery12-Oct-06 6:08
Mark Salsbery12-Oct-06 6:08 
>>Now all I need to do is work out why the window region is causing so much flicker.

Take a look at WM_ERASEBKGND.
By default every repaint of the window, the background gets drawn, then the foreground (via your
WM_PAINT handler).
If you handle WM_ERASEBKGND (even by just returning true indicating you have handled drawing the
background) you can handle drawing the background yourself. This makes for much smoother,
flicker-free painting Smile | :)

Mark

GeneralRe: window sizing Pin
PJ Arends12-Oct-06 11:27
professionalPJ Arends12-Oct-06 11:27 
QuestionMFC CDocManger - OnFileNew() Pin
Vaclav_11-Oct-06 16:26
Vaclav_11-Oct-06 16:26 
AnswerRe: MFC CDocManger - OnFileNew() Pin
PJ Arends11-Oct-06 20:29
professionalPJ Arends11-Oct-06 20:29 
GeneralRe: MFC CDocManger - OnFileNew() Pin
Vaclav_12-Oct-06 6:29
Vaclav_12-Oct-06 6:29 
Questionhow to save an big array as an image? Pin
zhijia.yuan11-Oct-06 10:54
zhijia.yuan11-Oct-06 10:54 
AnswerRe: how to save an big array as an image? Pin
Mark Salsbery11-Oct-06 12:33
Mark Salsbery11-Oct-06 12:33 
AnswerRe: how to save an big array as an image? Pin
David Crow12-Oct-06 2:54
David Crow12-Oct-06 2:54 
QuestionCookie problem with IWebBrowser2 Pin
ayol1212211-Oct-06 10:29
ayol1212211-Oct-06 10: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.