COleObjectFactory::OnCreateObject

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 OverviewClass MembersHierarchy Chart

See Also   COleObjectFactory::COleObjectFactory, CRuntimeClass