共用方式為


COleControlSite::COleControlSite

Constructs a new COleControlSite object.

explicit COleControlSite( 
   COleControlContainer* pCtrlCont  
);

Parameters

  • pCtrlCont
    A pointer to the control's container (which represents the window that hosts the AtiveX control).

Remarks

This function is called by the COccManager::CreateContainer function. For more information on customizing the creation of containers, see COccManager::CreateSite.

Requirements

Header: afxocc.h

See Also

Reference

COleControlSite Class

Hierarchy Chart

COleControlSite::CreateControl