Compartilhar via


CPaneDialog::SetOccDialogInfo

Specifies the template for a dialog box that is an OLE control container.

virtual BOOL SetOccDialogInfo(
   _AFX_OCC_DIALOG_INFO* pOccDialogInfo
);

Parameters

  • [in] pOccDialogInfo
    Pointer to a dialog box template that is used to create the dialog box object. The value of this parameter is subsequently passed into the COccManager::CreateDlgControls method.

Return Value

Always TRUE.

Remarks

This method supports the COccManager class, which manages OLE control sites and ActiveX controls. The _AFX_OCC_DIALOG_INFO structure is defined in the afxocc.h header file.

Requirements

Header: afxpanedialog.h

See Also

Reference

CPaneDialog Class

Hierarchy Chart

COccManager Class

Concepts

MFC ActiveX Controls