CComCompositeControl::Create

HWND Create( HWND hWndParent, RECT& rcPos, LPARAM dwInitParam = NULL );

Return Value

A handle to the newly created composite control dialog box.

Parameters

hWndParent

[in] A handle to the parent window of the control.

rcPos

[in] The position rectangle of the composite control in client coordinates relative to hwndParent.

dwInitParam

[in] Any additional data to be passed to the control during control creation. The data passed as dwInitParam will show up as the LPARAM parameter of the WM_INITDIALOG message, which will be sent to the composite control when it gets created.

Remarks

This method is called to create the control window for the composite control. It is usually called during in-place activation of the control.

CComCompositeControl OverviewClass Members

See Also

AtlAxCreateDialog, WM_INITDIALOG