Share via


COleControlSite Members

Base Class Members

CObject Members

CCmdTarget Members

Construction

COleControlSite

Constructs a COleControlSite object.

Operations

CreateControl

Creates a hosted ActiveX control.

DestroyControl

Destroys the hosted control.

DoVerb

Executes a specific verb of the hosted control.

FreezeEvents

Specifies if the control site is accepting events.

GetControlInfo

Retrieves keyboard information and mnemonics for the hosted control.

GetDefBtnCode

Retrieves the default button code for the hosted control.

GetEventIID

Retrieves the ID of an event interface for a hosted control.

IsDefaultButton

Determines if the control is the default button in the window.

SetDefaultButton

Sets the default button in the window.

Overridables

BindDefaultProperty

Binds the default property of the hosted control to a data source.

BindProperty

Binds a property of the hosted control to a data source.

EnableDSC

Enables data sourcing for a control site.

EnableWindow

Enables the control site.

GetDlgCtrlID

Retrieves the identifier of the control.

GetExStyle

Retrieves the extended styles of the control site.

GetProperty

Retrieves a specific property of the hosted control.

GetStyle

Retrieves the styles of the control site.

GetWindowText

Retrieves the text of the hosted control.

InvokeHelper

Invoke a specific method of the hosted control.

InvokeHelperV

Invoke a specific method of the hosted control with a variable list of arguments.

IsWindowEnabled

Checks the visible state of the control site.

ModifyStyleEx

Modifies the current extended styles of the control site.

ModifyStyle

Modifies the current styles of the control site.

MoveWindow

Changes the position of the control site.

QuickActivate

Quick activates the hosted control.

SafeSetProperty

Sets a property or method of the control without chance of throwing an exception.

SetDlgCtrlID

Retrieves the identifier of the control.

SetFocus

Sets the focus to the control site.

SetProperty

Sets a specific property of the hosted control.

SetPropertyV

Sets a specific property of the hosted control with a variable list of arguments.

SetWindowPos

Sets the position of the control site.

SetWindowText

Sets the text of the hosted control.

ShowWindow

Shows or hides the control site.

Attributes

m_bIsWindowless

Determines if the hosted control is a windowless control.

m_ctlInfo

Contains information on keyboard handling for the control.

m_dwEventSink

The cookie of the control's connection point.

m_dwMiscStatus

The miscellaneous states for the hosted control.

m_dwPropNotifySink

The IPropertyNotifySink cookie of the control.

m_dwStyle

The styles of the hosted control.

m_hWnd

The handle of the control site.

m_iidEvents

The ID of the event interface for the hosted control.

m_nID

The ID of the hosted control.

m_pActiveObject

A pointer to the IOleInPlaceActiveObject object of the hosted control.

m_pCtrlCont

The container of the hosted control.

m_pInPlaceObject

A pointer to the IOleInPlaceObject object of the hosted control.

m_pObject

A pointer to the IOleObjectInterface interface of the control.

m_pWindowlessObject

A pointer to the IOleInPlaceObjectWindowless interface of the control.

m_pWndCtrl

A pointer to the window object for the hosted control.

m_rect

The dimensions of the control site.

See Also

Reference

COleControlSite Class

Hierarchy Chart