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.
CWnd::GetMenu
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  CMenu* GetMenu() const;
 
  Remarks
 
  Retrieves a pointer to the the CWnd menu. This function should not be
  used for child windows because they do not have a menu.
 
  Return Value
 
  Identifies the menu. The value is NULL if CWnd has no menu. The return
  value is undefined if CWnd is a child window.
 
  The returned pointer may be temporary, and should not be stored for
  later use.
 
  See Also
 
  ::GetMenu
 
 
                                     -♦-