CMenu::Attach

This method attaches an existing Windows CE menu to a CMenu object. This method should not be called if a menu is already attached to the CMenu object.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL Attach( HMENU hMenu );

See Also

CMenu::Detach, CMenu::CMenu, CWnd::GetMenu