Condividi tramite


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

Concepts

CMenu Class

CMenu Members

Hierarchy Chart

CMenu::SetMenuInfo