Download Reverse engineering of Graphical User Interfaces based
Transcript
Appendix C
If true, a check mark ( ) is to the left of the menu text. This is useful to choose different
program options from the menu.
State
({enabled, disabled, grayed})
Menu items can be enabled (by default), disabled or grayed. Enabled or disabled items look
the same to the user (a disabled item is displayed but it cannot be selected). Disabled and
grayed item are used when options are not currently valid (but a grayed item is displayed in
gray text to let the user know the option is not valid). 175
Position
(Integer)
Each menu item is located in a specific position. The leftmost item in the menu bar, or the top
item in a popup menu, has Position = 1. The position value is incremented for subsequent
items.
SEPARATOR
This class defines an inactive item that serves as a dividing bar between two items.
Position
(Integer)
Each separator is located in a specific position. The leftmost item in the menu bar, or the top
item in a popup menu, has Position = 1. The position value is incremented for subsequent
items, including separators.
175
The WM_COMMAND message is not send to the owner window when the item is disabled or grayed.
136