Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the framework to create a control site, hosted by the container pointed to by pCtrlCont.
virtual COleControlSite* CreateSite(
COleControlContainer* pCtrlCont
);
Parameters
- pCtrlCont
A pointer to the control container hosting the new control site.
Return Value
A pointer to the newly created control site.
Remarks
Override this function to create a custom control site, using your COleControlSite-derived class.
Each control container can host multiple sites. Create additional sites with multiple calls to CreateSite.
Requirements
Header: afxocc.h