CMenu::Attach

Call this member function to attach an existing Windows menu to a CMenu object. This function should not be called if a menu is already attached to the CMenu object.

Syntax

BOOL Attach( HMENU hMenu );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CMenu Overview, CMenu Member Functions, Menu Classes, CMenu::Detach, CMenu::CMenu, CWnd::GetMenu