COccManager::CreateDlgControls
Call this function to create ActiveX controls specified by the pOccDialogInfo parameter.
virtual BOOL CreateDlgControls(
CWnd* pWndParent,
LPCTSTR lpszResourceName,
_AFX_OCC_DIALOG_INFO* pOccDialogInfo
);
virtual BOOL CreateDlgControls(
CWnd* pWndParent,
void* lpResource,
_AFX_OCC_DIALOG_INFO* pOccDialogInfo
);
Parameters
pWndParent
A pointer to the parent of the dialog object.lpszResourceName
The name of the resource being created.pOccDialogInfo
A pointer to the dialog template used to create the dialog object.lpResource
A pointer to a resource.
Return Value
Nonzero if the control was created successfully; otherwise zero.
Requirements
Header: afxocc.h