CWindow::GetDlgControl

HRESULT GetDlgControl( int nID, IUnknown** ppUnkCtrl );

Parameters

nID

[in] The resource ID of the control being retrieved

ppUnkCtrl

[out] A pointer to the IUnknown of the specified control.

Remarks

Call this function to retrieve the pointer to the IUnknown interface of a hosted control., specified by nID.

CWindow OverviewClass Members