Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WM_PAINT and WM_ERASEBKGND Pin
Nishad S29-Jan-07 21:07
Nishad S29-Jan-07 21:07 
GeneralRe: WM_PAINT and WM_ERASEBKGND Pin
Waldermort29-Jan-07 21:28
Waldermort29-Jan-07 21:28 
GeneralRe: WM_PAINT and WM_ERASEBKGND Pin
Nishad S29-Jan-07 22:40
Nishad S29-Jan-07 22:40 
GeneralRe: WM_PAINT and WM_ERASEBKGND Pin
Waldermort30-Jan-07 1:54
Waldermort30-Jan-07 1:54 
QuestionRe: WM_PAINT and WM_ERASEBKGND Pin
code_discuss18-Dec-07 20:13
code_discuss18-Dec-07 20:13 
AnswerRe: WM_PAINT and WM_ERASEBKGND Pin
Member 16192558-Mar-10 20:24
Member 16192558-Mar-10 20:24 
AnswerRe: WM_PAINT and WM_ERASEBKGND Pin
Javad Taheri (drjackool)8-Mar-15 6:06
Javad Taheri (drjackool)8-Mar-15 6:06 
GeneralRe: WM_PAINT and WM_ERASEBKGND Pin
Member 16192558-Mar-10 20:40
Member 16192558-Mar-10 20:40 
Whether it is background or foreground you draw on same DC. This is only an option given to you to separate background and foreground. The usefulness comes when 'InvalidateRect' etc. are called in the program. Normally, WM_ERASEBKGND and WM_PAINT both get called ('resize' say). If you use InvalidateRect(...,...,false) only WM_PAINT gets called. If you use InvalidateRect(...,...,true) then WM_ERASEBKGND gets called when you use 'BeginPaint' inside WM_PAINT.
GeneralRe: WM_PAINT and WM_ERASEBKGND Pin
Nishad S8-Mar-10 22:02
Nishad S8-Mar-10 22:02 
QuestionAny way to start an application at bootup? Pin
ShaluMalu29-Jan-07 19:37
ShaluMalu29-Jan-07 19:37 
AnswerRe: Any way to start an application at bootup? Pin
Naveen29-Jan-07 20:34
Naveen29-Jan-07 20:34 
AnswerRe: Any way to start an application at bootup? Pin
Roger Stoltz29-Jan-07 21:43
Roger Stoltz29-Jan-07 21:43 
AnswerRe: Any way to start an application at bootup? Pin
James R. Twine30-Jan-07 1:23
James R. Twine30-Jan-07 1:23 
QuestionProblem with WriteFile Pin
amitmistry_petlad 29-Jan-07 19:14
amitmistry_petlad 29-Jan-07 19:14 
AnswerRe: Problem with WriteFile Pin
Stephen Hewitt29-Jan-07 19:34
Stephen Hewitt29-Jan-07 19:34 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 29-Jan-07 22:09
amitmistry_petlad 29-Jan-07 22:09 
GeneralRe: Problem with WriteFile Pin
David Crow30-Jan-07 2:30
David Crow30-Jan-07 2:30 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 2:35
amitmistry_petlad 30-Jan-07 2:35 
QuestionRe: Problem with WriteFile Pin
David Crow30-Jan-07 2:43
David Crow30-Jan-07 2:43 
AnswerRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 3:11
amitmistry_petlad 30-Jan-07 3:11 
GeneralRe: Problem with WriteFile Pin
David Crow30-Jan-07 3:29
David Crow30-Jan-07 3:29 
GeneralRe: Problem with WriteFile Pin
Stephen Hewitt30-Jan-07 11:34
Stephen Hewitt30-Jan-07 11:34 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 16:47
amitmistry_petlad 30-Jan-07 16:47 
GeneralRe: Problem with WriteFile Pin
Stephen Hewitt30-Jan-07 16:54
Stephen Hewitt30-Jan-07 16:54 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 18:00
amitmistry_petlad 30-Jan-07 18:00 

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.