Partager via


CComCompositeControl Members

Methods

AdviseSinkMap

Call this method to advise or unadvise all controls hosted by the composite control.

CalcExtent

Call this method to calculate the size in HIMETRIC units of the dialog resource used to host the composite control.

CComCompositeControl

The constructor.

~CComCompositeControl

The destructor.

Create

This method is called to create the control window for the composite control.

CreateControlWindow

Call this method to create the control window and advise any hosted control.

SetBackgroundColorFromAmbient

Call this method to set the background color of the composite control using the container's background color.

Data Members

m_hbrBackground

The background brush.

m_hWndFocus

The handle of the window that currently has focus.

See Also

Concepts

CComCompositeControl Class

CComControl Members