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

C / C++ / MFC

 
Generala general question Pin
Anonymous28-Jul-04 17:20
Anonymous28-Jul-04 17:20 
GeneralRe: a general question Pin
Johan Rosengren28-Jul-04 19:51
Johan Rosengren28-Jul-04 19:51 
GeneralRe: a general question Pin
Anonymous28-Jul-04 20:15
Anonymous28-Jul-04 20:15 
GeneralRe: a general question Pin
Johan Rosengren28-Jul-04 20:41
Johan Rosengren28-Jul-04 20:41 
GeneralRe: a general question Pin
Anonymous28-Jul-04 21:11
Anonymous28-Jul-04 21:11 
GeneralRe: a general question Pin
Trollslayer29-Jul-04 1:43
mentorTrollslayer29-Jul-04 1:43 
GeneralScrollable window in vertical and honzontal direction Pin
ting66828-Jul-04 16:47
ting66828-Jul-04 16:47 
Generalcall OnDraw() outside View/Doc Pin
birdman6328-Jul-04 16:31
birdman6328-Jul-04 16:31 
Hi,

I have an SDI app that puts stuff on the view with an OnDraw() override. It updates automatically whenever there is any Document activity but I would like to trigger a screen refresh after certain non-document events, like changes in other dialogs. I don't know how to piggyback another message map on top of OnDraw without screwing it up. Can you offer any clues?

I thought this code would work but no go: "illegal call of non-static member function". It's a virtual override generated by the ClassWizard.
CDC *pDC;
pDC = pMain->GetDC();
CAppView::OnDraw( pDC );

Thanks in advance for any advice.


GeneralRe: call OnDraw() outside View/Doc Pin
Johan Rosengren28-Jul-04 19:56
Johan Rosengren28-Jul-04 19:56 
GeneralRe: call OnDraw() outside View/Doc Pin
birdman6329-Jul-04 3:42
birdman6329-Jul-04 3:42 
Generalabout dial-in question! Pin
china_yl28-Jul-04 15:21
china_yl28-Jul-04 15:21 
QuestionAnyone care to tell me why this is 24 bytes? Pin
Link260028-Jul-04 14:51
Link260028-Jul-04 14:51 
AnswerRe: Anyone care to tell me why this is 24 bytes? Pin
JimRivera28-Jul-04 15:26
JimRivera28-Jul-04 15:26 
AnswerRe: Anyone care to tell me why this is 24 bytes? Pin
TheDoctor28-Jul-04 15:52
TheDoctor28-Jul-04 15:52 
AnswerRe: Anyone care to tell me why this is 24 bytes? Pin
ssiegel28-Jul-04 17:35
ssiegel28-Jul-04 17:35 
AnswerRe: Anyone care to tell me why this is 24 bytes? Pin
SOCM_FP_CPP29-Jul-04 0:33
SOCM_FP_CPP29-Jul-04 0:33 
GeneralRe: Anyone care to tell me why this is 24 bytes? Pin
Link260029-Jul-04 0:39
Link260029-Jul-04 0:39 
GeneralRe: Anyone care to tell me why this is 24 bytes? Pin
SOCM_FP_CPP29-Jul-04 0:51
SOCM_FP_CPP29-Jul-04 0:51 
GeneralRe: Anyone care to tell me why this is 24 bytes? Pin
Link260029-Jul-04 1:02
Link260029-Jul-04 1:02 
GeneralRe: Anyone care to tell me why this is 24 bytes? Pin
SOCM_FP_CPP29-Jul-04 1:18
SOCM_FP_CPP29-Jul-04 1:18 
GeneralRe: Anyone care to tell me why this is 24 bytes? Pin
Rick York29-Jul-04 6:32
mveRick York29-Jul-04 6:32 
GeneralCreateProcess Pin
Paul Selormey28-Jul-04 11:58
Paul Selormey28-Jul-04 11:58 
GeneralRe: CreateProcess Pin
valikac28-Jul-04 14:00
valikac28-Jul-04 14:00 
GeneralRe: CreateProcess Pin
Jörgen Sigvardsson28-Jul-04 14:04
Jörgen Sigvardsson28-Jul-04 14:04 
GeneralRe: CreateProcess Pin
Paul Selormey28-Jul-04 14:41
Paul Selormey28-Jul-04 14:41 

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.