Hi!
If I understand you well, you want to know about the sequence of Function calls. In your App-Class within InitInstance you have code looking somehow like following:
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINFRAME,
RUNTIME_CLASS(CHTMLView2Doc),
RUNTIME_CLASS(CMainFrame),
RUNTIME_CLASS(CHTMLView2View));
AddDocTemplate(pDocTemplate);
This AddDocTemplate finaly creates instances of all Classes (Document, MainFrame and View) and connects them to each other. OnInitialUpdate() is called, when the View is about to be shown. You have a call to the baseclass Member inside this function. With this call all GDI Objects are created from your Resources.
Hope this helps.
Greetings
Remo