Click here to Skip to main content
15,897,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error creating an object based on a dialog declared in a .rc resource file Pin
Goo225-Feb-09 11:49
Goo225-Feb-09 11:49 
GeneralRe: Error creating an object based on a dialog declared in a .rc resource file Pin
Goo225-Feb-09 12:45
Goo225-Feb-09 12:45 
GeneralRe: Error creating an object based on a dialog declared in a .rc resource file Pin
Jonathan Davies25-Feb-09 14:16
Jonathan Davies25-Feb-09 14:16 
QuestionHow can I access CView within CDoc in a SDI? Pin
Joseph Marzbani25-Feb-09 9:41
Joseph Marzbani25-Feb-09 9:41 
AnswerRe: How can I access CView within CDoc in a SDI? Pin
Jonathan Davies25-Feb-09 10:30
Jonathan Davies25-Feb-09 10:30 
AnswerRe: How can I access CView within CDoc in a SDI? Pin
«_Superman_»25-Feb-09 17:41
professional«_Superman_»25-Feb-09 17:41 
AnswerRe: How can I access CView within CDoc in a SDI? Pin
Hamid_RT25-Feb-09 19:43
Hamid_RT25-Feb-09 19:43 
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 

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.