|
|
Note |
¡@ |
The MFC saves the address of
the
CWinGreetApp object
in a CWinApp
pointer, which it uses to call
InitInstance.
Because
InitInstance is a
virtual function (see
Chapter 5),
the overriding version of
InitInstance
defined within the
CWinGreetApp
class receives control.
CWinApp
defines several other virtual functions that you can override. For
example, you can override the
ExitInstance
function to perform final clean-up tasks immediately before your
application terminates. For a description of all
CWinApp
overridable functions, see the following online help topic:
Visual C++ Documentation,
Reference,
Microsoft
Foundation Class Library and Templates,
Microsoft
Foundation Class Library,
Class Library
Reference,
CWinApp,
CWinApp Class
Members. (In this
topic, see the
Overridables
section.) |
¡@ |
|