다음을 통해 공유


CMenu::SetMenuItemInfo

Changes information about a menu item.

BOOL SetMenuItemInfo(
   UINT uItem,
   LPMENUITEMINFO lpMenuItemInfo,
   BOOL fByPos = FALSE
);

Parameters

  • uItem
    See description of uItem in SetMenuItemInfo in the Windows SDK.

  • lpMenuItemInfo
    See description of lpmii in SetMenuItemInfo in the Windows SDK.

  • fByPos
    See description of fByPosition in SetMenuItemInfo in the Windows SDK.

Remarks

This function wraps SetMenuItemInfo, described in the Windows SDK.

Requirements

Header: afxwin.h

See Also

Reference

CMenu Class

Hierarchy Chart

Other Resources

CMenu Members