CCmdTarget::OnFinalRelease
Called by the framework when the last OLE reference to or from the object is released.
virtual void OnFinalRelease( );
Заметки
Override this function to provide special handling for this situation. The default implementation deletes the object.
Требования
Header: afxwin.h