直接用就是了 getmenustate有返回值,如下 返回值 描述 MF_CHECKED Places a check next to the item (for drop-down menus, submenus, and shortcut menus only). MF_DISABLED Disables the item. MF_GRAYED 灰掉. MF_HILITE Highlights the item. MF_MENUBARBREAK Functions the same as the MF_MENUBREAK flag, except for drop-down menus, submenus, and shortcut menus, where the new column is separated from the old column by a vertical line. MF_MENUBREAK Places the item on a new line (for menu bars) or in a new column (for drop-down menus, submenus, and shortcut menus) without separating columns. MF_SEPARATOR
getmenustate有返回值,如下
返回值 描述
MF_CHECKED Places a check next to the item (for drop-down menus, submenus, and shortcut menus only).
MF_DISABLED Disables the item.
MF_GRAYED 灰掉.
MF_HILITE Highlights the item.
MF_MENUBARBREAK Functions the same as the MF_MENUBREAK flag, except for drop-down menus, submenus, and shortcut menus, where the new column is separated from the old column by a vertical line.
MF_MENUBREAK Places the item on a new line (for menu bars) or in a new column (for drop-down menus, submenus, and shortcut menus) without separating columns.
MF_SEPARATOR