Export (0) Print
Expand All

COccManager::CreateSite

Called by the framework to create a control site, hosted by the container pointed to by pCtrlCont.

virtual COleControlSite* CreateSite( 
   COleControlContainer* pCtrlCont  
);

pCtrlCont

A pointer to the control container hosting the new control site.

A pointer to the newly created control site.

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.

Header: afxocc.h

Show:
© 2014 Microsoft