Click here to Skip to main content
15,917,968 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Network Machines Pin
rw10414-May-07 5:00
rw10414-May-07 5:00 
QuestionSimple GDI program Pin
Dustin Henry14-May-07 4:28
Dustin Henry14-May-07 4:28 
AnswerRe: Simple GDI program Pin
Arman S.14-May-07 5:40
Arman S.14-May-07 5:40 
GeneralRe: Simple GDI program Pin
Dustin Henry14-May-07 6:20
Dustin Henry14-May-07 6:20 
GeneralRe: Simple GDI program Pin
Arman S.14-May-07 6:57
Arman S.14-May-07 6:57 
AnswerRe: Simple GDI program [modified] Pin
Mark Salsbery14-May-07 5:56
Mark Salsbery14-May-07 5:56 
GeneralRe: Simple GDI program Pin
Dustin Henry14-May-07 6:17
Dustin Henry14-May-07 6:17 
GeneralRe: Simple GDI program Pin
Michael Dunn14-May-07 8:04
sitebuilderMichael Dunn14-May-07 8:04 
Mark Salsbery wrote:
Also, WM_PAINT isn't the only place you can draw on the window from. You can draw the text from anywhere you want.

This is true, but if you do any drawing outside of WM_ERASEBKGND and WM_PAINT, you'll need to manually redo the drawing if the window becomes uncovered. (This is what causes people to ask "I draw something in WM_INITDIALOG but it goes away if I move another window over mine.") If you do all drawing in response to those two messages, you won't need to do that bookkeeping.


--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

Dunder-Mifflin, this is Pam.

GeneralRe: Simple GDI program Pin
Mark Salsbery14-May-07 8:20
Mark Salsbery14-May-07 8:20 
Questionread xml with dataset Pin
lavy288314-May-07 4:18
lavy288314-May-07 4:18 
QuestionRe: read xml with dataset Pin
David Crow14-May-07 4:20
David Crow14-May-07 4:20 
AnswerRe: read xml with dataset Pin
lavy288314-May-07 4:38
lavy288314-May-07 4:38 
QuestionRe: read xml with dataset Pin
David Crow14-May-07 4:49
David Crow14-May-07 4:49 
AnswerRe: read xml with dataset Pin
lavy288314-May-07 5:00
lavy288314-May-07 5:00 
QuestionRe: read xml with dataset Pin
David Crow14-May-07 5:04
David Crow14-May-07 5:04 
GeneralRe: read xml with dataset Pin
led mike14-May-07 5:06
led mike14-May-07 5:06 
GeneralRe: read xml with dataset Pin
Hamid_RT14-May-07 6:02
Hamid_RT14-May-07 6:02 
Questiondll inside the exe Pin
Russell'14-May-07 4:13
Russell'14-May-07 4:13 
AnswerRe: dll inside the exe Pin
David Crow14-May-07 4:19
David Crow14-May-07 4:19 
GeneralRe: dll inside the exe Pin
Russell'14-May-07 4:26
Russell'14-May-07 4:26 
GeneralRe: dll inside the exe Pin
David Crow14-May-07 4:33
David Crow14-May-07 4:33 
GeneralRe: dll inside the exe Pin
Cedric Moonen14-May-07 4:46
Cedric Moonen14-May-07 4:46 
QuestionHow to be informed/notified of registry modifications Pin
Alexandre GRANVAUD14-May-07 3:41
Alexandre GRANVAUD14-May-07 3:41 
AnswerRe: How to be informed/notified of registry modifications Pin
David Crow14-May-07 4:21
David Crow14-May-07 4:21 
GeneralRe: How to be informed/notified of registry modifications Pin
Alexandre GRANVAUD14-May-07 4:24
Alexandre GRANVAUD14-May-07 4:24 

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.