CComCompositeControl::CreateControlWindow

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

virtual HWND CreateControlWindow(
   HWND hWndParent,
   RECT& rcPos 
);

Parameters

  • hWndParent
    A handle to the parent window of the control.

  • rcPos
    The position rectangle of the composite control in client coordinates relative to hWndParent.

Return Value

Returns a handle to the newly created composite control dialog box.

Remarks

This method calls CComCompositeControl::Create and CComCompositeControl::AdviseSinkMap.

Requirements

Header: atlcom.h

See Also

Concepts

CComCompositeControl Class

CComCompositeControl Members