COleControlContainer Class
Acts as a control container for ActiveX controls.
class COleControlContainer : public CCmdTarget
Members
Public Constructors
Name |
Description |
---|---|
Constructs a COleControlContainer object. |
Public Methods
Name |
Description |
---|---|
Creates a control site, hosted by the container. |
|
Informs all hosted controls that an ambient property has changed. |
|
Modifies the specified button control. |
|
Selects the specified radio button of a group. |
|
Creates a hosted ActiveX control. |
|
Creates an OLE font. |
|
Returns the custom site of the specified control. |
|
Determines if the control site is accepting events. |
|
Retrieves the specified ambient property. |
|
Retrieves the specified dialog control. |
|
Retrieves the value of the specified dialog control. |
|
Retrieves the caption of the specified dialog control. |
|
Determines if the container handles WM_SETFOCUS messages. |
|
Handles messages sent to a windowless control. |
|
Determines the state of the specified button. |
|
Called to repaint a portion of the container. |
|
Called when a control is about to be in-place activated. |
|
Called when a control is about to be deactivated. |
|
Called by the framework when scroll messages are received from a child window. |
|
Sends a message to the specified control. |
|
Sets the value of the specified control. |
|
Sets the text of the specified control. |
Public Data Members
Name |
Description |
---|---|
The background color of the container. |
|
The foreground color of the container. |
|
A list of the supported control sites. |
|
The number of hosted windowless controls. |
|
A pointer to the OLE font of the custom control site. |
|
Pointer to the capture control site. |
|
Pointer to the control that currently has input focus. |
|
Pointer to the control that is currently in-place activated. |
|
Pointer to the window implementing the control container. |
|
The site map. |
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.
Inheritance Hierarchy
COleControlContainer
Requirements
Header: afxocc.h