ATLAPI AtlAxAttachControl( IUnknown* pControl, HWND hWnd );
Parameters
pControl
[in] A pointer to the IUnknown of the control.
hWnd
[in] Handle to the window that will host the control.
Remarks
Attaches a previously created control to the specified window.
Note The control object being attached must be correctly initialized before AtlAxAttachControl.
Use AtlAxCreateControlEx and AtlAxCreateControl to simultaneously create and attach a control.
ATL Macros and Global Functions
See Also