Partager via


CMenu::SetMenuInfo

Sets information for a menu.

BOOL SetMenuInfo( 
   LPCMENUINFO lpcmi 
);

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 set specific information about the menu.

Requirements

Header: afxwin.h

See Also

Reference

CMenu Class

Hierarchy Chart

CMenu::GetMenuInfo