Hi,
I have written an SDI application and want to call a function (in the View)
immediately after the splash screen has been destroyed.
That is, in the splash code:
void CSplashWnd::HideSplashScreen()
{
CWnd* pMainWnd = AfxGetMainWnd();
DestroyWindow();
// I want to call a function in the View here.
pMainWnd->UpdateWindow();
Quote:
}
Does anybody know how to do this?
The real problem that I'm trying to solve is this:
Within the SDI, I want the user to be guided through certain selections from
dialog boxes once the splash screen has been destroyed. If I include this in
the InitialUpdate part of the View, the program crashes (the program will
display the splash screen and the dialog at the same time.
If anybody can help me with my initial problem or maybe suggest another
route, I would be very grateful.
Many thanks in advance.
DAVE EVANS