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.
BOOL Attach( HMENU hMenu );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CMenu Overview, CMenu Member Functions, Menu Classes, CMenu::Detach, CMenu::CMenu, CWnd::GetMenu