다음을 통해 공유


COleControlContainer Members

Base Class Members

CObject Members

CCmdTarget Members

Construction

COleControlContainer

Constructs a COleControlContainer object.

Operations

CreateControl

Creates a hosted ActiveX control.

Overridables

AttachControlSite

Creates a control site, hosted by the container.

BroadcastAmbientPropertyChange

Informs all hosted controls that an ambient property has changed.

CheckDlgButton

Modifies the specified button control.

CheckRadioButton

Selects the specified radio button of a group.

CreateOleFont

Creates an OLE font.

FindItem

Returns the custom site of the specified control.

FreezeAllEvents

Determines if the control site is accepting events.

GetAmbientProp

Retrieves the specified ambient property.

GetDlgItemInt

Retrieves the value of the specified dialog control.

GetDlgItemText

Retrieves the caption of the specified dialog control.

GetDlgItem

Retrieves the specified dialog control.

HandleSetFocus

Determines if the container handles WM_SETFOCUS messages.

HandleWindowlessMessage

Handles messages sent to a windowless control.

IsDlgButtonChecked

Determines the state of the specified button.

OnPaint

Called to repaint a portion of the container.

OnUIActivate

Called when a control is about to be in-place activated.

OnUIDeactivate

Called when a control is about to be deactivated.

ScrollChildren

Called by the framework when scroll messages are received from a child window.

SendDlgItemMessage

Sends a message to the specified control.

SetDlgItemInt

Sets the value of the specified control.

SetDlgItemText

Sets the text of the specified control.

Data Members

m_crBack

The background color of the container.

m_crFore

The foreground color of the container.

m_listSitesOrWnds

A list of the supported control sites.

m_nWindowlessControls

The number of hosted windowless controls.

m_pOleFont

A pointer to the OLE font of the custom control site.

m_pSiteCapture

Pointer to the capture control site.

m_pSiteFocus

Pointer to the control that currently has input focus.

m_pSiteUIActive

Pointer to the control that is currently in-place activated.

m_pWnd

Pointer to the window implementing the control container.

m_siteMap

The site map.

See Also

Concepts

COleControlContainer Class

Hierarchy Chart