Udostępnij za pośrednictwem


COleControlContainer Class

Acts as a control container for ActiveX controls.

class COleControlContainer : public CCmdTarget

Remarks

This is done by providing support for one or more ActiveX control sites (implemented by COleControlSite). COleControlContainer fully implements the IOleInPlaceFrame and IOleContainer interfaces, allowing the contained ActiveX controls to fulfill their qualifications as in-place items.

Commonly, this class is used in conjunction with COccManager and COleControlSite to implement a custom ActiveX control container, with custom sites for one or more ActiveX controls.

Requirements

Header: afxocc.h

See Also

Reference

CCmdTarget Class

Hierarchy Chart

COleControlSite Class

COccManager Class

Other Resources

COleControlContainer Members