Click here to Skip to main content
16,011,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General_setmode: Win CE Tools vs. V Studio 6(help!) Pin
sparky012-Jan-03 22:55
sparky012-Jan-03 22:55 
GeneralRe: _setmode: Win CE Tools vs. V Studio 6(help!) Pin
Anonymous2-Jan-03 23:31
Anonymous2-Jan-03 23:31 
GeneralRe: _setmode: Win CE Tools vs. V Studio 6(help!) Pin
sparky012-Jan-03 23:40
sparky012-Jan-03 23:40 
GeneralRe: _setmode: Win CE Tools vs. V Studio 6(help!) Pin
sparky013-Jan-03 0:02
sparky013-Jan-03 0:02 
GeneralGetting correct ChildFrame ptr in xxxDoc Pin
EiSl2-Jan-03 22:22
EiSl2-Jan-03 22:22 
GeneralRe: Getting correct ChildFrame ptr in xxxDoc Pin
Alois Kraus2-Jan-03 23:06
Alois Kraus2-Jan-03 23:06 
GeneralRe: Getting correct ChildFrame ptr in xxxDoc Pin
EiSl3-Jan-03 0:02
EiSl3-Jan-03 0:02 
GeneralRe: Getting correct ChildFrame ptr in xxxDoc Pin
Alois Kraus3-Jan-03 1:34
Alois Kraus3-Jan-03 1:34 
Did you try the opposite direction ?
Overide
<br />
CFrameWnd::InitialUpdateFrame()<br />


and get a ptr to your new created document in this function.
There You can safely update your status bar because you can be sure that the
frame window already exists.

I think the problem is that when OnNewDocument is called only the CDocument
is created. The View does not yet exist. The order is if I remember right
first the document then the view with the frame is created. You are trying
to update a frame which does not yet exist.
GeneralCFiledialog Customization Pin
sbabu2-Jan-03 22:21
sbabu2-Jan-03 22:21 
GeneralRe: CFiledialog Customization Pin
xxhimanshu2-Jan-03 22:33
xxhimanshu2-Jan-03 22:33 
GeneralError handling Pin
suresh_sathya2-Jan-03 22:17
suresh_sathya2-Jan-03 22:17 
GeneralRe: Error handling Pin
r i s h a b h s3-Jan-03 2:02
r i s h a b h s3-Jan-03 2:02 
GeneralGetQueueStatus() and WM_LBUTTONDOWN... Pin
Neha2-Jan-03 22:14
Neha2-Jan-03 22:14 
GeneralRe: GetQueueStatus() and WM_LBUTTONDOWN... Pin
Michael Dunn3-Jan-03 16:44
sitebuilderMichael Dunn3-Jan-03 16:44 
GeneralUML Question Pin
Phil Speller2-Jan-03 21:55
Phil Speller2-Jan-03 21:55 
GeneralRe: UML Question Pin
Zdenek Navratil2-Jan-03 22:21
Zdenek Navratil2-Jan-03 22:21 
GeneralRe: UML Question Pin
Phil Speller2-Jan-03 23:10
Phil Speller2-Jan-03 23:10 
Generalfull screen size dialog Pin
Didaa2-Jan-03 21:46
Didaa2-Jan-03 21:46 
GeneralRe: full screen size dialog Pin
ashxly2-Jan-03 22:01
ashxly2-Jan-03 22:01 
GeneralRe: full screen size dialog Pin
xxhimanshu2-Jan-03 22:05
xxhimanshu2-Jan-03 22:05 
GeneralRe: full screen size dialog Pin
Zdenek Navratil2-Jan-03 22:47
Zdenek Navratil2-Jan-03 22:47 
GeneralRe: full screen size dialog Pin
Joan M2-Jan-03 22:54
professionalJoan M2-Jan-03 22:54 
GeneralRe: full screen size dialog Pin
Didaa2-Jan-03 23:16
Didaa2-Jan-03 23:16 
GeneralGetting printer colour settings Pin
Hel2-Jan-03 21:10
Hel2-Jan-03 21:10 
GeneralRe: Getting printer colour settings Pin
MVH2-Jan-03 21:52
MVH2-Jan-03 21:52 

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.