Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CMenu::Detach
CMenu                                       Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  HMENU Detach();
 
  Remarks
 
  Detaches a Windows menu from a CMenu object and returns the handle. The
  m_hMenu data member is set to NULL.
 
  Return Value
 
  The handle, of type HMENU, to a Windows menu, if successful; otherwise
  NULL.
 
  See Also
 
  CMenu::~CMenu, CMenu::Attach
 
 
                                     -♦-