IAxWinHostWindow::AttachControl
Attaches an existing (and previously initialized) control to the host object using the window identified by hWnd.
STDMETHOD( AttachControl )(
IUnknown* pUnkControl,
HWND hWnd
);
Параметры
pUnkControl
[in] A pointer to the IUnknown interface of the control to be attached to the host object.hWnd
[in] A handle to the window to be used for hosting.
Возвращаемое значение
A standard HRESULT value.
Требования
Header: atliface.h
См. также
Основные понятия
IAxWinHostWindow::CreateControl