Click here to Skip to main content
15,914,066 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Redraw Pin
Sarriss1-Oct-08 4:22
Sarriss1-Oct-08 4:22 
GeneralRe: Redraw Pin
Mark Salsbery1-Oct-08 5:11
Mark Salsbery1-Oct-08 5:11 
GeneralRe: Redraw Pin
Sarriss1-Oct-08 5:13
Sarriss1-Oct-08 5:13 
GeneralRe: Redraw Pin
Mark Salsbery1-Oct-08 5:31
Mark Salsbery1-Oct-08 5:31 
GeneralRe: Redraw Pin
Sarriss1-Oct-08 6:29
Sarriss1-Oct-08 6:29 
GeneralRe: Redraw Pin
Mark Salsbery1-Oct-08 6:53
Mark Salsbery1-Oct-08 6:53 
GeneralRe: Redraw Pin
Sarriss1-Oct-08 7:03
Sarriss1-Oct-08 7:03 
GeneralRe: Redraw Pin
Mark Salsbery1-Oct-08 7:12
Mark Salsbery1-Oct-08 7:12 
I already stated:

The system will send the appropriate messages. If it's not redrawing properly
you are doing something wrong.

I suppose you could try to figure out all the possible messages
received when your window gets focused/activated and force an
invalidate/update/redraw but it would be a hack covering up an existing
problem. Even then, I doubt it would redraw properly since it already isn't.


Back to the drawing: AFAIK, and I could be wrong, you stated the
background brush for the window class is NULL, you have no WM_ERASEBKGND
handler, and WM_PAINT handler does nothing. What do you expect to be drawn then?

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Redraw Pin
Sarriss1-Oct-08 7:25
Sarriss1-Oct-08 7:25 
GeneralRe: Redraw Pin
Mark Salsbery1-Oct-08 7:34
Mark Salsbery1-Oct-08 7:34 
QuestionRe: Redraw Pin
Mark Salsbery1-Oct-08 7:36
Mark Salsbery1-Oct-08 7:36 
AnswerRe: Redraw Pin
Sarriss1-Oct-08 9:49
Sarriss1-Oct-08 9:49 
GeneralRe: Redraw Pin
Mark Salsbery1-Oct-08 10:38
Mark Salsbery1-Oct-08 10:38 
GeneralRe: Redraw Pin
Sarriss1-Oct-08 11:06
Sarriss1-Oct-08 11:06 
Questioncreate directory hierarchy Pin
MANISH RASTOGI1-Oct-08 1:38
MANISH RASTOGI1-Oct-08 1:38 
AnswerRe: create directory hierarchy Pin
toxcct1-Oct-08 2:03
toxcct1-Oct-08 2:03 
JokeRe: create directory hierarchy Pin
Roger Stoltz1-Oct-08 2:41
Roger Stoltz1-Oct-08 2:41 
JokeRe: create directory hierarchy Pin
toxcct1-Oct-08 2:42
toxcct1-Oct-08 2:42 
JokeRe: create directory hierarchy Pin
CPallini1-Oct-08 5:37
mveCPallini1-Oct-08 5:37 
GeneralRe: [Solved] create directory hierarchy Pin
MANISH RASTOGI2-Oct-08 19:12
MANISH RASTOGI2-Oct-08 19:12 
GeneralRe: [Solved] create directory hierarchy Pin
MANISH RASTOGI2-Oct-08 19:04
MANISH RASTOGI2-Oct-08 19:04 
AnswerRe: create directory hierarchy Pin
Alan Balkany1-Oct-08 3:55
Alan Balkany1-Oct-08 3:55 
GeneralRe: [Solved] create directory hierarchy Pin
MANISH RASTOGI2-Oct-08 19:20
MANISH RASTOGI2-Oct-08 19:20 
AnswerRe: create directory hierarchy Pin
Mark Salsbery1-Oct-08 6:06
Mark Salsbery1-Oct-08 6:06 
GeneralRe: [Solved] create directory hierarchy Pin
MANISH RASTOGI2-Oct-08 19:17
MANISH RASTOGI2-Oct-08 19:17 

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.