Module: Win::Gui::Menu
Overview
Contains constants and Win32 API functions related to Window menus manipulation. Menu basics can be found here: msdn.microsoft.com/en-us/library/ms646977%28v=VS.85%29.aspx
Constant Summary collapse
- MF_INSERT =
Menu Flags
0x00000000
- MF_CHANGE =
0x00000080
- MF_APPEND =
0x00000100
- MF_DELETE =
0x00000200
- MF_REMOVE =
0x00001000
- MF_BYCOMMAND =
0x00000000
- MF_BYPOSITION =
0x00000400
- MF_SEPARATOR =
0x00000800
- MF_ENABLED =
0x00000000
- MF_GRAYED =
0x00000001
- MF_DISABLED =
0x00000002
- MF_UNCHECKED =
0x00000000
- MF_CHECKED =
0x00000008
- MF_USECHECKBITMAPS =
0x00000200
- MF_STRING =
0x00000000
- MF_BITMAP =
0x00000004
- MF_OWNERDRAW =
0x00000100
- MF_POPUP =
0x00000010
- MF_MENUBARBREAK =
0x00000020
- MF_MENUBREAK =
0x00000040
- MF_UNHILITE =
0x00000000
- MF_HILITE =
0x00000080
- MF_DEFAULT =
0x00001000
- MF_SYSMENU =
0x00002000
- MF_HELP =
0x00004000
- MF_RIGHTJUSTIFY =
0x00004000
- MF_MOUSESELECT =
0x00008000
- MF_END =
0x00000080
- OBJID_WINDOW =
System Objects
0x00000000
- OBJID_SYSMENU =
0xFFFFFFFF
- OBJID_TITLEBAR =
0xFFFFFFFE
- OBJID_MENU =
0xFFFFFFFD
- OBJID_CLIENT =
0xFFFFFFFC
- OBJID_VSCROLL =
0xFFFFFFFB
- OBJID_HSCROLL =
0xFFFFFFFA
- OBJID_SIZEGRIP =
0xFFFFFFF9
- OBJID_CARET =
0xFFFFFFF8
- OBJID_CURSOR =
0xFFFFFFF7
- OBJID_ALERT =
0xFFFFFFF6
- OBJID_SOUND =
0xFFFFFFF5
- OBJID_QUERYCLASSNAMEIDX =
0xFFFFFFF4
- OBJID_NATIVEOM =
0xFFFFFFF0
- ID_SEPARATOR =
Standard window components
0
- ID_DEFAULT_PANE =
special separator value
0
- ATL_IDW_TOOLBAR =
standard control bars (IDW = window ID)
0xE800
- ATL_IDW_STATUS_BAR =
main Toolbar for window
0xE801
- ATL_IDW_COMMAND_BAR =
Status bar window
0xE802
- ATL_IDW_CLIENT =
parts of a frame window
0xE900
- ATL_IDW_PANE_FIRST =
first pane (256 max)
0xE900
- ATL_IDW_PANE_LAST =
0xE9FF
- ATL_IDW_HSCROLL_FIRST =
first Horz scrollbar (16 max)
0xEA00
- ATL_IDW_VSCROLL_FIRST =
first Vert scrollbar (16 max)
0xEA10
- ATL_IDW_SIZE_BOX =
size box for splitters
0xEA20
- ATL_IDW_PANE_SAVE =
to shift ATL_IDW_PANE_FIRST
0xEA21
- ATL_IDW_BAND_FIRST =
bands for a rebar
0xEB00
- ATL_IDW_BAND_LAST =
0xEBFF
- ID_FILE_NEW =
File commands
0xE100
- ID_FILE_OPEN =
0xE101
- ID_FILE_CLOSE =
0xE102
- ID_FILE_SAVE =
0xE103
- ID_FILE_SAVE_AS =
0xE104
- ID_FILE_PAGE_SETUP =
0xE105
- ID_FILE_PRINT_SETUP =
0xE106
- ID_FILE_PRINT =
0xE107
- ID_FILE_PRINT_DIRECT =
0xE108
- ID_FILE_PRINT_PREVIEW =
0xE109
- ID_FILE_UPDATE =
0xE10A
- ID_FILE_SAVE_COPY_AS =
0xE10B
- ID_FILE_SEND_MAIL =
0xE10C
- ID_FILE_MRU_FIRST =
0xE110
- ID_FILE_MRU_FILE1 =
range - 16 max
0xE110
- ID_FILE_MRU_FILE2 =
0xE111
- ID_FILE_MRU_FILE3 =
0xE112
- ID_FILE_MRU_FILE4 =
0xE113
- ID_FILE_MRU_FILE5 =
0xE114
- ID_FILE_MRU_FILE6 =
0xE115
- ID_FILE_MRU_FILE7 =
0xE116
- ID_FILE_MRU_FILE8 =
0xE117
- ID_FILE_MRU_FILE9 =
0xE118
- ID_FILE_MRU_FILE10 =
0xE119
- ID_FILE_MRU_FILE11 =
0xE11A
- ID_FILE_MRU_FILE12 =
0xE11B
- ID_FILE_MRU_FILE13 =
0xE11C
- ID_FILE_MRU_FILE14 =
0xE11D
- ID_FILE_MRU_FILE15 =
0xE11E
- ID_FILE_MRU_FILE16 =
0xE11F
- ID_FILE_MRU_LAST =
0xE11F
- ID_EDIT_CLEAR =
Edit commands
0xE120
- ID_EDIT_CLEAR_ALL =
0xE121
- ID_EDIT_COPY =
0xE122
- ID_EDIT_CUT =
0xE123
- ID_EDIT_FIND =
0xE124
- ID_EDIT_PASTE =
0xE125
- ID_EDIT_PASTE_LINK =
0xE126
- ID_EDIT_PASTE_SPECIAL =
0xE127
- ID_EDIT_REPEAT =
0xE128
- ID_EDIT_REPLACE =
0xE129
- ID_EDIT_SELECT_ALL =
0xE12A
- ID_EDIT_UNDO =
0xE12B
- ID_EDIT_REDO =
0xE12C
- ID_WINDOW_NEW =
Window commands
0xE130
- ID_WINDOW_ARRANGE =
0xE131
- ID_WINDOW_CASCADE =
0xE132
- ID_WINDOW_TILE_HORZ =
0xE133
- ID_WINDOW_TILE_VERT =
0xE134
- ID_WINDOW_SPLIT =
0xE135
- ATL_IDM_WINDOW_FIRST =
0xE130
- ATL_IDM_WINDOW_LAST =
0xE13F
- ATL_IDM_FIRST_MDICHILD =
window list starts here
0xFF00
- ID_APP_ABOUT =
Help and App commands
0xE140
- ID_APP_EXIT =
0xE141
- ID_HELP_INDEX =
0xE142
- ID_HELP_FINDER =
0xE143
- ID_HELP_USING =
0xE144
- ID_CONTEXT_HELP =
shift-F1
0xE145
- ID_HELP =
first attempt for F1
0xE146
- ID_DEFAULT_HELP =
last attempt
0xE147
- ID_NEXT_PANE =
Misc
0xE150
- ID_PREV_PANE =
0xE151
- ID_PANE_CLOSE =
0xE152
- ID_FORMAT_FONT =
Format
0xE160
- ID_SCROLL_UP =
Scroll
0xE170
- ID_SCROLL_DOWN =
0xE171
- ID_SCROLL_PAGE_UP =
0xE172
- ID_SCROLL_PAGE_DOWN =
0xE173
- ID_SCROLL_TOP =
0xE174
- ID_SCROLL_BOTTOM =
0xE175
- ID_SCROLL_LEFT =
0xE176
- ID_SCROLL_RIGHT =
0xE177
- ID_SCROLL_PAGE_LEFT =
0xE178
- ID_SCROLL_PAGE_RIGHT =
0xE179
- ID_SCROLL_ALL_LEFT =
0xE17A
- ID_SCROLL_ALL_RIGHT =
0xE17B
- ID_OLE_INSERT_NEW =
OLE commands
0xE200
- ID_OLE_EDIT_LINKS =
0xE201
- ID_OLE_EDIT_CONVERT =
0xE202
- ID_OLE_EDIT_CHANGE_ICON =
0xE203
- ID_OLE_EDIT_PROPERTIES =
0xE204
- ID_OLE_VERB_FIRST =
range - 16 max
0xE210
- ID_OLE_VERB_LAST =
0xE21F
- ID_VIEW_TOOLBAR =
View commands (same number used as IDW used for toolbar and status bar)
0xE800
- ID_VIEW_STATUS_BAR =
0xE801
- ID_VIEW_REFRESH =
0xE803
- IDC_STATIC =
Standard control IDs
-1 # all static controls
- ATL_IDS_IDLEMESSAGE =
idle status bar message
0xE001
- ATL_IDS_SCFIRST =
0xEF00
- ATL_IDS_SCSIZE =
0xEF00
- ATL_IDS_SCMOVE =
0xEF01
- ATL_IDS_SCMINIMIZE =
0xEF02
- ATL_IDS_SCMAXIMIZE =
0xEF03
- ATL_IDS_SCNEXTWINDOW =
0xEF04
- ATL_IDS_SCPREVWINDOW =
0xEF05
- ATL_IDS_SCCLOSE =
0xEF06
- ATL_IDS_SCRESTORE =
0xEF12
- ATL_IDS_SCTASKLIST =
0xEF13
- ATL_IDS_MDICHILD =
0xEF1F
- ATL_IDS_MRU_FILE =
0xEFDA
- ID_APPLY_NOW =
Property Sheet control id’s (determined with Spy++)
0x3021
- ID_WIZBACK =
0x3023
- ID_WIZNEXT =
0x3024
- ID_WIZFINISH =
0x3025
- ATL_IDC_TAB_CONTROL =
0x3020
Constants included from Library
Method Summary
Methods included from Library
callback, define_api, define_snake_method, enforce_count, extended, function, generate_names, generate_signature, generate_snake_method_body, try_function