Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the framework to create a new object.
virtual CCmdTarget* OnCreateObject( );
Return Value
A pointer to the created object. It can throw a memory exception if it fails.
Remarks
Override this function to create the object from something other than the CRuntimeClass passed to the constructor.
Requirements
Header: afxdisp.h