共用方式為


COccManager::PostCreateDialog

Called by the framework to free memory allocated for the dialog template.

virtual void PostCreateDialog(
   _AFX_OCC_DIALOG_INFO* pOccDialogInfo 
);

Parameters

  • pOccDialogInfo
    An _AFX_OCC_DIALOG_INFO structure containing information on the dialog template and any ActiveX controls hosted by the dialog.

Remarks

This memory was allocated by a call to SplitDialogTemplate, and was used for any hosted ActiveX controls in the dialog box.

Override this function to customize the process of cleaning up any resources used by the dialog box object.

Requirements

Header: afxocc.h

See Also

Concepts

COccManager Class

COccManager Members

Hierarchy Chart

COccManager::SplitDialogTemplate

COccManager::PreCreateDialog