I've read bunches of MFC documents including msdn and the MFC help and haven't figured this out.
I want to init my view as soon as the app starts w/o the user having to hit File->New.
For SDI, OnInitialUpdate() is never called. And for non doc/view there is no OnInitialUpdate().
So how would I go about initializing the view as soon as the application starts?
I cannot do it from CWinApp::InitInstance() because the view and document have not been activated. GetActiveView() and GetActiveDocument() both return NULL from within CWinApp::InitInstance().
several choices such as constructor, oncreate, etc.
OnCreate() is not called when the framework creates everything.
The constructor will not work b/c the Windows object does not exist at that time so calling GetClientRect() or anything else to init another window will not work.