Click here to Skip to main content
15,908,775 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can I access CView within CDoc in a SDI? Pin
Iain Clarke, Warrior Programmer26-Feb-09 1:54
Iain Clarke, Warrior Programmer26-Feb-09 1:54 
I would also point you at UpdateAllViews member function of the CDocument class.

As has been said, the whole point is that CDocument has no clue whatsoever about the views. This lets you replace / add different views, and only change one area of your code.

This is a GoodThing(tm).

Iain.

Codeproject MVP for C++, I can't believe it's for my lounge posts...

QuestionHow to resolve LNK2001 error (ver: VC ++ 8.0 and .net 2005) Pin
SIJUTHOMASP25-Feb-09 9:14
professionalSIJUTHOMASP25-Feb-09 9:14 
AnswerRe: How to resolve LNK2001 error (ver: VC ++ 8.0 and .net 2005) Pin
ky_rerun25-Feb-09 16:21
ky_rerun25-Feb-09 16:21 
GeneralRe: How to resolve LNK2001 error (ver: VC ++ 8.0 and .net 2005) Pin
SIJUTHOMASP26-Feb-09 3:15
professionalSIJUTHOMASP26-Feb-09 3:15 
AnswerRe: How to resolve LNK2001 error (ver: VC ++ 8.0 and .net 2005) Pin
SIJUTHOMASP26-Feb-09 8:59
professionalSIJUTHOMASP26-Feb-09 8:59 
Questionwindows message - when the window was displayed Pin
daavena25-Feb-09 8:18
daavena25-Feb-09 8:18 
AnswerRe: windows message - when the window was displayed Pin
Stuart Dootson25-Feb-09 8:29
professionalStuart Dootson25-Feb-09 8:29 
GeneralRe: windows message - when the window was displayed Pin
daavena25-Feb-09 8:38
daavena25-Feb-09 8:38 
GeneralRe: windows message - when the window was displayed Pin
Stuart Dootson25-Feb-09 9:00
professionalStuart Dootson25-Feb-09 9:00 
GeneralRe: windows message - when the window was displayed Pin
daavena25-Feb-09 9:59
daavena25-Feb-09 9:59 
AnswerRe: windows message - when the window was displayed Pin
Iain Clarke, Warrior Programmer25-Feb-09 8:29
Iain Clarke, Warrior Programmer25-Feb-09 8:29 
GeneralRe: windows message - when the window was displayed Pin
daavena25-Feb-09 8:48
daavena25-Feb-09 8:48 
QuestionSetting the Window Orientation Pin
BobInNJ25-Feb-09 6:41
BobInNJ25-Feb-09 6:41 
AnswerRe: Setting the Window Orientation Pin
Iain Clarke, Warrior Programmer25-Feb-09 8:26
Iain Clarke, Warrior Programmer25-Feb-09 8:26 
GeneralRe: Setting the Window Orientation Pin
BobInNJ25-Feb-09 15:20
BobInNJ25-Feb-09 15:20 
GeneralRe: Setting the Window Orientation Pin
Iain Clarke, Warrior Programmer25-Feb-09 21:51
Iain Clarke, Warrior Programmer25-Feb-09 21:51 
QuestionIs there any way to subclass excel? Pin
SNI25-Feb-09 5:56
SNI25-Feb-09 5:56 
AnswerRe: Is there any way to subclass excel? Pin
Stuart Dootson25-Feb-09 8:35
professionalStuart Dootson25-Feb-09 8:35 
GeneralRe: Is there any way to subclass excel? Pin
SNI25-Feb-09 17:21
SNI25-Feb-09 17:21 
GeneralRe: Is there any way to subclass excel? Pin
Stuart Dootson25-Feb-09 21:59
professionalStuart Dootson25-Feb-09 21:59 
GeneralRe: Is there any way to subclass excel? Pin
SNI25-Feb-09 22:56
SNI25-Feb-09 22:56 
GeneralRe: Is there any way to subclass excel? Pin
Stuart Dootson25-Feb-09 23:14
professionalStuart Dootson25-Feb-09 23:14 
GeneralRe: Is there any way to subclass excel? Pin
SNI25-Feb-09 23:44
SNI25-Feb-09 23:44 
GeneralRe: Is there any way to subclass excel? Pin
Stuart Dootson26-Feb-09 2:20
professionalStuart Dootson26-Feb-09 2:20 
GeneralRe: Is there any way to subclass excel? Pin
SNI8-Mar-09 23:23
SNI8-Mar-09 23:23 

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.