Click here to Skip to main content
15,916,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OnDraw not getting called Pin
Neville Franks28-Jul-03 11:31
Neville Franks28-Jul-03 11:31 
GeneralMDI UpdateAllViews Pin
EddieRich28-Jul-03 10:16
EddieRich28-Jul-03 10:16 
GeneralRe: MDI UpdateAllViews Pin
Tom Archer28-Jul-03 10:25
Tom Archer28-Jul-03 10:25 
GeneralRe: MDI UpdateAllViews Pin
EddieRich28-Jul-03 10:31
EddieRich28-Jul-03 10:31 
GeneralRe: MDI UpdateAllViews Pin
Tom Archer28-Jul-03 11:29
Tom Archer28-Jul-03 11:29 
GeneralRe: MDI UpdateAllViews Pin
EddieRich29-Jul-03 2:46
EddieRich29-Jul-03 2:46 
GeneralRe: MDI UpdateAllViews Pin
Tom Archer29-Jul-03 2:57
Tom Archer29-Jul-03 2:57 
GeneralRe: MDI UpdateAllViews Pin
EddieRich29-Jul-03 3:20
EddieRich29-Jul-03 3:20 
Sorry if I sound rude, or "have an attitude". I thought I was perfectly clear in the original question when I said -- What I want is for "AllDocs" to "UpdateAllViews" --.

"Instead of telling us what there isn't - when you clearly don't know - you might try following the advice of those that have done this."

There is no function called "GetFirstDocument". If I "clearly don't know", then maybe someone should tell Microsoft, becuase they neglected to put it in the help files.

I would love nothing more than to follow your advice, that is why I originally posted the question.

"Then you need to use an object that is accessable across all your views/documents. The first one that comes to mind is the application object which can be obtained via AfxGetApp."

Sorry to be "rude" again, but that still doesn't answer the question. So now I have a pointer to CMyApp, ok, what do I do to get all the documents and UpdateAllViews ? My point here is that your not giving me advice, your giving me half answers that never solve the original problem.

I apologize for my attitude, I did not intend to offend anyone, I just wanted to know how other applications update every view in the app. I wanted to know how other software engineers have implemented a " UpdateAllInstantiatedViewsInTheApp() " function.

GeneralRe: MDI UpdateAllViews Pin
Neville Franks28-Jul-03 10:57
Neville Franks28-Jul-03 10:57 
GeneralRe: MDI UpdateAllViews Pin
EddieRich28-Jul-03 11:14
EddieRich28-Jul-03 11:14 
GeneralRe: MDI UpdateAllViews Pin
Neville Franks28-Jul-03 11:26
Neville Franks28-Jul-03 11:26 
GeneralRe: MDI UpdateAllViews Pin
EddieRich29-Jul-03 2:43
EddieRich29-Jul-03 2:43 
GeneralRe: MDI UpdateAllViews Pin
Neville Franks29-Jul-03 5:50
Neville Franks29-Jul-03 5:50 
GeneralRe: MDI UpdateAllViews Pin
Tom Archer28-Jul-03 11:31
Tom Archer28-Jul-03 11:31 
GeneralRe: MDI UpdateAllViews Pin
EddieRich29-Jul-03 2:40
EddieRich29-Jul-03 2:40 
GeneralRe: MDI UpdateAllViews Pin
Tom Archer29-Jul-03 2:47
Tom Archer29-Jul-03 2:47 
QuestionUse IE to render to bitmap or file? Pin
Todd Smith28-Jul-03 8:50
Todd Smith28-Jul-03 8:50 
AnswerRe: Use IE to render to bitmap or file? Pin
Brian Shifrin28-Jul-03 8:57
Brian Shifrin28-Jul-03 8:57 
GeneralRe: Use IE to render to bitmap or file? Pin
Todd Smith28-Jul-03 10:45
Todd Smith28-Jul-03 10:45 
GeneralXP Worker Thread File IO Issue Pin
chipg_al28-Jul-03 8:36
chipg_al28-Jul-03 8:36 
GeneralRe: XP Worker Thread File IO Issue Pin
AlexO28-Jul-03 10:27
AlexO28-Jul-03 10:27 
GeneralRe: XP Worker Thread File IO Issue Pin
chipg_al28-Jul-03 11:57
chipg_al28-Jul-03 11:57 
GeneralRe: XP Worker Thread File IO Issue Pin
valikac28-Jul-03 12:09
valikac28-Jul-03 12:09 
GeneralBig Multithread Problem Pin
Member 49993428-Jul-03 7:01
Member 49993428-Jul-03 7:01 
GeneralRe: Big Multithread Problem Pin
Member 49993428-Jul-03 7:04
Member 49993428-Jul-03 7:04 

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.