The MENUITEMTEMPLATE structure defines a menu item in a menu template.
typedef struct { // mit WORD mtOption; // menu item flags WORD mtID; // menu item identifier (omitted for pop-up items) WCHAR mtString[1]; // null-terminated string for menu item } MENUITEMTEMPLATE;
Value |
Meaning |
MF_CHECKED |
Indicates that the menu item has a check mark next to it. |
MF_GRAYED |
Indicates that the menu item is initially inactive and drawn with a gray effect. |
MF_HELP |
Indicates that the menu item has a vertical separator to its left. |
MF_MENUBARBREAK |
Indicates that the menu item is placed in a new column. The old and new columns are separated by a bar. |
MF_MENUBREAK |
Indicates that the menu item is placed in a new column. |
MF_OWNERDRAW |
Indicates that the owner window of the menu is responsible for drawing all visual aspects of the menu item, including highlighted, checked, and inactive states. This option is not valid for an item in a menu bar. |
MF_POPUP |
Indicates that the item is one that opens a drop-down menu or submenu. |
LoadMenuIndirect, MENUITEMTEMPLATEHEADER
file: /Techref/os/win/api/win32/struc/src/str11_6.htm, 3KB, , updated: 2000/4/7 11:20, local time: 2024/12/23 09:31,
3.139.86.53:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/Techref/os/win/api/win32/struc/src/str11_6.htm"> MENUITEMTEMPLATE</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.