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.
| 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 |
BOOL Attach( HMENU hMenu );
CMenu::Detach, CMenu::CMenu, CWnd::GetMenu