Nota
O acesso a esta página requer autorização. Pode tentar iniciar sessão ou alterar os diretórios.
O acesso a esta página requer autorização. Pode tentar alterar os diretórios.
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
See Also
Reference
COleObjectFactory::COleObjectFactory