virtual CCmdTarget* OnCreateObject( );
Return Value
A pointer to the created object. It can throw a memory exception if it fails.
Remarks
Called by the framework to create a new object. Override this function to create the object from something other than the CRuntimeClass passed to the constructor.
COleObjectFactory Overview | Class Members | Hierarchy Chart
See Also COleObjectFactory::COleObjectFactory, CRuntimeClass