AtlAxAttachControl

This global function attaches a previously created control to the specified window. The control object being attached must be correctly initialized before AtlAxAttachControl.

Use AtlAxCreateControlEx and AtlAxCreateControl to simultaneously create and attach a control.

At a Glance

Header file: Atliface.h
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

ATLAPI AtlAxAttachControl( IUnknown* pControl, HWND hWnd );

See Also

ATL Macros and Global Functions