CAxWindow::AttachControl

This method creates a new host object if one is not already present and attaches the specified control to the host.

At a Glance

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

Syntax

HRESULT AttachControl( IUnknown* pControl, IUnknown** ppUnkContainer );