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

C / C++ / MFC

 
Generalwinsocks connection timeout Pin
Peter Pearson29-Dec-01 1:55
Peter Pearson29-Dec-01 1:55 
GeneralRe: winsocks connection timeout Pin
Mike Nordell29-Dec-01 7:52
Mike Nordell29-Dec-01 7:52 
Questionwhen will OnDraw function l be EXECUTED? Pin
AnonymousBabe@usa.net28-Dec-01 21:04
AnonymousBabe@usa.net28-Dec-01 21:04 
AnswerRe: when will OnDraw function l be EXECUTED? Pin
l a u r e n28-Dec-01 21:52
l a u r e n28-Dec-01 21:52 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
AnonymousBabe@usa.net28-Dec-01 22:26
AnonymousBabe@usa.net28-Dec-01 22:26 
AnswerRe: when will OnDraw function l be EXECUTED? Pin
Christian Graus29-Dec-01 0:06
protectorChristian Graus29-Dec-01 0:06 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
AnonymousBabe@usa.net29-Dec-01 0:13
AnonymousBabe@usa.net29-Dec-01 0:13 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
Christian Graus29-Dec-01 0:33
protectorChristian Graus29-Dec-01 0:33 
ooze wrote:
First, the program won' t step into the OnDraw Function, why?

Well, looking through the code you posted, it seems to me - no, wait....

ooze wrote:
it seems no need to write OnPaint

I have a vague recollection that overriding OnPaint stops OnDraw from being called - that was why I asked.

I just created a vanilla SDI app and my OnDraw is getting called. Did you try Spy ++ ? If you still can't see it, you should probably post some code, but if OnPaint and OnDraw are both not getting called, I don't see how your window can *be* at all. BTW you want OnPrepareDC instead of OnDraw anyhow, if you want to avoid flicker.


Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now

GeneralRe: when will OnDraw function l be EXECUTED? Pin
AnonymousBabe@usa.net29-Dec-01 2:01
AnonymousBabe@usa.net29-Dec-01 2:01 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
Christian Graus29-Dec-01 8:55
protectorChristian Graus29-Dec-01 8:55 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
AnonymousBabe@usa.net29-Dec-01 2:09
AnonymousBabe@usa.net29-Dec-01 2:09 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
PJ Arends29-Dec-01 12:38
professionalPJ Arends29-Dec-01 12:38 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
AnonymousBabe@usa.net29-Dec-01 12:57
AnonymousBabe@usa.net29-Dec-01 12:57 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
Tim Smith29-Dec-01 13:52
Tim Smith29-Dec-01 13:52 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
AnonymousBabe@usa.net29-Dec-01 14:58
AnonymousBabe@usa.net29-Dec-01 14:58 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
AnonymousBabe@usa.net29-Dec-01 15:11
AnonymousBabe@usa.net29-Dec-01 15:11 
GeneralASP and spawning notepad Pin
Nish Nishant28-Dec-01 20:34
sitebuilderNish Nishant28-Dec-01 20:34 
GeneralRe: ASP and spawning notepad Pin
Konstantin Vasserman28-Dec-01 22:05
Konstantin Vasserman28-Dec-01 22:05 
GeneralRe: ASP and spawning notepad Pin
Nish Nishant28-Dec-01 22:24
sitebuilderNish Nishant28-Dec-01 22:24 
GeneralResizing of Animation control Pin
v_krishnan28-Dec-01 19:10
v_krishnan28-Dec-01 19:10 
GeneralError Checking Pin
Stephen Caldwell28-Dec-01 18:06
Stephen Caldwell28-Dec-01 18:06 
QuestionHow to make a Picture Transparent Using Memory DC only Pin
clemence28-Dec-01 18:02
clemence28-Dec-01 18:02 
AnswerRe: How to make a Picture Transparent Using Memory DC only Pin
Christian Graus29-Dec-01 0:04
protectorChristian Graus29-Dec-01 0:04 
GeneralTransparency Pin
clemence28-Dec-01 18:00
clemence28-Dec-01 18:00 
GeneralRe: Transparency Pin
Christian Graus29-Dec-01 0:02
protectorChristian Graus29-Dec-01 0:02 

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.