CMenu::GetMenuInfo

Retrieves information for a menu.

BOOL GetMenuInfo( 
   LPMENUINFO lpcmi 
) const;

Parameters

  • lpcmi
    A pointer to a MENUINFO structure containing information for the menu.

Return Value

If the function succeeds, the return value is nonzero; otherwise, the return value is zero.

Remarks

Call this function to retrieve information about the menu.

Requirements

Header: afxwin.h

See Also

Reference

CMenu Class

Hierarchy Chart

CMenu::SetMenuInfo

Other Resources

CMenu Members