◄CMenu► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── BOOL Attach( HMENU hMenu); Parameter Description <hMenu> Specifies a handle to a Windows menu. Remarks Attaches an existing Windows menu to a CMenu object. This function should not be called if a menu is already attached to the CMenu object. The menu handle is stored in the m_hMenu data member. Return Value TRUE if the operation was successful; otherwise FALSE. See Also ◄CMenu::Detach►, ◄CMenu::CMenu► -♦-