COleControlContainer::AttachControlSite
Called by the framework to create and attach a control site.
virtual void AttachControlSite(
CWnd* pWnd,
UINT nIDC = 0
);
void AttachControlSite(
CWnd* pWnd,
UINT nIDC = 0
);
Parameters
pWnd
A pointer to a CWnd object.nIDC
The ID of the control to be attached.
Remarks
Override this function if you want to customize this process.
참고
Use the first form of this function if you are statically linking to the MFC library. Use the second form if you are dynamically linking to the MFC library.
Requirements
Header: afxocc.h