Home
last modified time | relevance | path

Searched refs:hmenu (Results 1 – 25 of 470) sorted by relevance

12345678910>>...19

/dports/lang/racket/racket-8.3/share/pkgs/gui-lib/mred/private/wx/win32/
H A Dmenu.rkt40 (define hmenu (CreatePopupMenu))
42 (define/public (get-hmenu) hmenu)
47 (AppendMenuW parent-hmenu
49 hmenu
64 (let ([cmd (TrackPopupMenu hmenu
87 (ModifyMenuW bar-hmenu pos
108 (EnableMenuItem hmenu pos
113 (EnableMenuItem parent-hmenu pos
127 (send i get-check hmenu pos))))
133 (send i set-check hmenu pos (not (send i get-check hmenu pos))))))
[all …]
H A Dmenu-item.rkt47 (define/public (set-label hmenu pos str)
49 (ModifyMenuW hmenu pos
51 (cast (send submenu get-hmenu) _HMENU _UINT_PTR)
53 (ModifyMenuW hmenu pos
55 (GetMenuState hmenu pos MF_BYPOSITION))
59 (define/public (set-check hmenu pos on?)
61 (CheckMenuItem hmenu pos (bitwise-ior MF_BYPOSITION
66 (define/public (get-check hmenu pos)
67 (let ([s (GetMenuState hmenu pos MF_BYPOSITION)])
H A Dmenu-bar.rkt24 (define hmenu (CreateMenu))
30 (send (list-ref menus pos) set-menu-label hmenu pos str)
36 (send (list-ref menus pos) enable-self hmenu pos on?)
43 (RemoveMenu hmenu pos MF_BYPOSITION)
55 (send m set-parent this lbl hmenu)))
63 (SetMenu (send f get-hwnd) hmenu)
/dports/lang/mit-scheme/mit-scheme-9.2/src/win32/
H A Dwf_user.scm139 (append-menu (menu hmenu)
244 hmenu user32.dll "GetMenu"))
285 (windows-procedure (get-sub-menu (hmenu hmenu) (pos int))
286 hmenu user32.dll "GetSubMenu"))
315 (windows-procedure (hilite-menu-item (hwnd hwnd) (hmenu hmenu)
346 hmenu user32.dll "LoadMenuA"))
358 (modify-menu (hmenu hmenu) (item uint) (flags uint)
384 (windows-procedure (remove-menu (hmenu hmenu) (item uint) (flags uint))
420 (windows-procedure (set-menu (hwnd hwnd) (hmenu hmenu))
425 (set-menu-item-bitmaps (hmenu hmenu) (item uint) (flags uint)
[all …]
/dports/japanese/jed/jed-B0.99-8__J067/src/
H A Dwterm.c1852 if (!hmenu) in get_menubar()
1867 if (hmenu) in destroy_menubar()
1886 HMENU hmenu; in destroy_menu() local
1909 HMENU hmenu; in append_menu_item() local
1946 HMENU hmenu; in append_popup_menu() local
1963 HMENU hmenu; in append_separator() local
1974 HMENU hmenu; in insert_menu_item() local
2012 HMENU hmenu; in insert_popup_menu() local
2031 HMENU hmenu; in insert_separator() local
2044 HMENU hmenu; in insert_menu_item_pos() local
[all …]
H A Dmswin.c2372 if (!hmenu) in get_menubar()
2387 if (hmenu) in destroy_menubar()
2406 HMENU hmenu; in destroy_menu() local
2429 HMENU hmenu; in append_menu_item() local
2466 HMENU hmenu; in append_popup_menu() local
2483 HMENU hmenu; in append_separator() local
2494 HMENU hmenu; in insert_menu_item() local
2532 HMENU hmenu; in insert_popup_menu() local
2551 HMENU hmenu; in insert_separator() local
2564 HMENU hmenu; in insert_menu_item_pos() local
[all …]
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dstring_input_popup.cpp104 uilist hmenu; in show_history() local
105 hmenu.title = _( "d: delete history" ); in show_history()
106 hmenu.allow_anykey = true; in show_history()
115 if( !hmenu.entries.empty() ) { in show_history()
116 hmenu.selected = hmenu.entries.size() - 1; in show_history()
118 hmenu.w_height_setup = [&]() -> int { in show_history()
127 hmenu.w_x_setup = [&]( int ) -> int { in show_history()
136 hmenu.query(); in show_history()
137 if( hmenu.ret >= 0 && hmenu.entries[hmenu.ret].txt != ret.str() ) { in show_history()
138 ret = hmenu.entries[hmenu.ret].txt; in show_history()
[all …]
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dstring_input_popup.cpp104 uilist hmenu; in show_history() local
105 hmenu.title = _( "d: delete history" ); in show_history()
106 hmenu.allow_anykey = true; in show_history()
115 if( !hmenu.entries.empty() ) { in show_history()
116 hmenu.selected = hmenu.entries.size() - 1; in show_history()
118 hmenu.w_height_setup = [&]() -> int { in show_history()
127 hmenu.w_x_setup = [&]( int ) -> int { in show_history()
136 hmenu.query(); in show_history()
137 if( hmenu.ret >= 0 && hmenu.entries[hmenu.ret].txt != ret.str() ) { in show_history()
138 ret = hmenu.entries[hmenu.ret].txt; in show_history()
[all …]
/dports/math/R/R-4.1.2/src/gnuwin32/
H A Drui.c68 static HelpMenuItems hmenu; variable
690 enable(hmenu->mhelp); in helpmenuact()
691 enable(hmenu->mhelpstart); in helpmenuact()
692 enable(hmenu->mhelpsearch); in helpmenuact()
694 enable(hmenu->mapropos); in helpmenuact()
695 enable(hmenu->mCRAN); in helpmenuact()
697 disable(hmenu->mhelp); in helpmenuact()
701 disable(hmenu->mapropos); in helpmenuact()
702 disable(hmenu->mCRAN); in helpmenuact()
766 helpmenuact(hmenu); in menuact()
[all …]
/dports/math/libRmath/R-4.1.1/src/gnuwin32/
H A Drui.c68 static HelpMenuItems hmenu; variable
690 enable(hmenu->mhelp); in helpmenuact()
691 enable(hmenu->mhelpstart); in helpmenuact()
692 enable(hmenu->mhelpsearch); in helpmenuact()
694 enable(hmenu->mapropos); in helpmenuact()
695 enable(hmenu->mCRAN); in helpmenuact()
697 disable(hmenu->mhelp); in helpmenuact()
701 disable(hmenu->mapropos); in helpmenuact()
702 disable(hmenu->mCRAN); in helpmenuact()
766 helpmenuact(hmenu); in menuact()
[all …]
/dports/editors/jed/jed-0.99-19/src/
H A Dwterm.c2265 if (!hmenu) in get_menubar()
2279 if (hmenu) in destroy_menubar()
2298 HMENU hmenu; in destroy_menu() local
2321 HMENU hmenu; in append_menu_item() local
2358 HMENU hmenu; in append_popup_menu() local
2375 HMENU hmenu; in append_separator() local
2386 HMENU hmenu; in insert_menu_item() local
2424 HMENU hmenu; in insert_popup_menu() local
2443 HMENU hmenu; in insert_separator() local
2456 HMENU hmenu; in insert_menu_item_pos() local
[all …]
/dports/emulators/pcem/pcem_emulator-pcem-faf5d6423060/src/
H A Dwx-sdl2.c364 void update_cdrom_menu(void* hmenu) in update_cdrom_menu() argument
809 void* hmenu; in wx_handle_command() local
812 hmenu = wx_getmenu(hwnd); in wx_handle_command()
882 wx_checkmenuitem(hmenu, wParam, bpb_disable); in wx_handle_command()
1105 update_cdrom_menu(hmenu); in wx_handle_command()
1115 update_cdrom_menu(hmenu); in wx_handle_command()
1129 update_cdrom_menu(hmenu); in wx_handle_command()
1137 update_cdrom_menu(hmenu); in wx_handle_command()
1139 update_cdrom_menu(hmenu); in wx_handle_command()
1147 update_cdrom_menu(hmenu); in wx_handle_command()
[all …]
/dports/graphics/g2/g2-0.72/src/Win32/
H A Dg2_win32_thread.c125 HMENU hmenu; in g2_StartThread() local
129 hmenu = NULL; in g2_StartThread()
132 hmenu = LoadMenu(g2res_DLL,"G2WIN32"); in g2_StartThread()
133 if (hmenu == NULL) errhandler("Load menu failed",NULL); in g2_StartThread()
140 frame.bottom = pdp->nHeight - ((hmenu==NULL)?GetSystemMetrics(SM_CYMENU):0); in g2_StartThread()
158 hmenu, // Use the window class menu. in g2_StartThread()
/dports/biology/viennarna/ViennaRNA-2.4.18/src/RNAforester/g2-0.72/src/Win32/
H A Dg2_win32_thread.c125 HMENU hmenu; in g2_StartThread() local
129 hmenu = NULL; in g2_StartThread()
132 hmenu = LoadMenu(g2res_DLL,"G2WIN32"); in g2_StartThread()
133 if (hmenu == NULL) errhandler("Load menu failed",NULL); in g2_StartThread()
140 frame.bottom = pdp->nHeight - ((hmenu==NULL)?GetSystemMetrics(SM_CYMENU):0); in g2_StartThread()
158 hmenu, // Use the window class menu. in g2_StartThread()
/dports/games/dhewm3/dhewm3-1.5.1/neo/tools/guied/
H A DGEApp.cpp898 HMENU hmenu; in HandleInitMenu() local
900 hmenu = (HMENU) wParam; in HandleInitMenu()
907 id = GetMenuItemID(hmenu, nPos); in HandleInitMenu()
913 HMENU sub = GetSubMenu ( hmenu, nPos ); in HandleInitMenu()
926 CheckMenuItem ( hmenu, id, flags ); in HandleInitMenu()
931 CheckMenuItem ( hmenu, id, flags ); in HandleInitMenu()
936 CheckMenuItem ( hmenu, id, flags ); in HandleInitMenu()
941 CheckMenuItem ( hmenu, id, flags ); in HandleInitMenu()
1026 SetMenuItemInfo ( hmenu, id, FALSE, &info ); in HandleInitMenu()
1063 CheckMenuItem ( hmenu, id, flags ); in HandleInitMenu()
[all …]
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/hw/xwin/
H A Dwinprefs.c74 HMENU hmenu, hsub; in MakeMenu() local
90 hmenu = editMenu; in MakeMenu()
94 hmenu = CreatePopupMenu(); in MakeMenu()
95 if (!hmenu) { in MakeMenu()
112 InsertMenu(hmenu, in MakeMenu()
119 InsertMenu(hmenu, item, MF_BYPOSITION | MF_SEPARATOR, 0, NULL); in MakeMenu()
126 InsertMenu(hmenu, in MakeMenu()
138 return hmenu; in MakeMenu()
277 HandleCustomWM_INITMENU(HWND hwnd, HMENU hmenu) in HandleCustomWM_INITMENU() argument
282 if (!hwnd || !hmenu) in HandleCustomWM_INITMENU()
[all …]
/dports/x11-servers/xorg-nestserver/xorg-server-1.20.13/hw/xwin/
H A Dwinprefs.c74 HMENU hmenu, hsub; in MakeMenu() local
90 hmenu = editMenu; in MakeMenu()
94 hmenu = CreatePopupMenu(); in MakeMenu()
95 if (!hmenu) { in MakeMenu()
112 InsertMenu(hmenu, in MakeMenu()
119 InsertMenu(hmenu, item, MF_BYPOSITION | MF_SEPARATOR, 0, NULL); in MakeMenu()
126 InsertMenu(hmenu, in MakeMenu()
138 return hmenu; in MakeMenu()
277 HandleCustomWM_INITMENU(HWND hwnd, HMENU hmenu) in HandleCustomWM_INITMENU() argument
282 if (!hwnd || !hmenu) in HandleCustomWM_INITMENU()
[all …]
/dports/x11-servers/xwayland/xorg-server-1.20.13/hw/xwin/
H A Dwinprefs.c74 HMENU hmenu, hsub; in MakeMenu() local
90 hmenu = editMenu; in MakeMenu()
94 hmenu = CreatePopupMenu(); in MakeMenu()
95 if (!hmenu) { in MakeMenu()
112 InsertMenu(hmenu, in MakeMenu()
119 InsertMenu(hmenu, item, MF_BYPOSITION | MF_SEPARATOR, 0, NULL); in MakeMenu()
126 InsertMenu(hmenu, in MakeMenu()
138 return hmenu; in MakeMenu()
277 HandleCustomWM_INITMENU(HWND hwnd, HMENU hmenu) in HandleCustomWM_INITMENU() argument
282 if (!hwnd || !hmenu) in HandleCustomWM_INITMENU()
[all …]
/dports/x11-servers/xorg-server/xorg-server-1.20.13/hw/xwin/
H A Dwinprefs.c74 HMENU hmenu, hsub; in MakeMenu() local
90 hmenu = editMenu; in MakeMenu()
94 hmenu = CreatePopupMenu(); in MakeMenu()
95 if (!hmenu) { in MakeMenu()
112 InsertMenu(hmenu, in MakeMenu()
119 InsertMenu(hmenu, item, MF_BYPOSITION | MF_SEPARATOR, 0, NULL); in MakeMenu()
126 InsertMenu(hmenu, in MakeMenu()
138 return hmenu; in MakeMenu()
277 HandleCustomWM_INITMENU(HWND hwnd, HMENU hmenu) in HandleCustomWM_INITMENU() argument
282 if (!hwnd || !hmenu) in HandleCustomWM_INITMENU()
[all …]
/dports/x11-servers/xorg-dmx/xorg-server-1.20.13/hw/xwin/
H A Dwinprefs.c74 HMENU hmenu, hsub; in MakeMenu() local
90 hmenu = editMenu; in MakeMenu()
94 hmenu = CreatePopupMenu(); in MakeMenu()
95 if (!hmenu) { in MakeMenu()
112 InsertMenu(hmenu, in MakeMenu()
119 InsertMenu(hmenu, item, MF_BYPOSITION | MF_SEPARATOR, 0, NULL); in MakeMenu()
126 InsertMenu(hmenu, in MakeMenu()
138 return hmenu; in MakeMenu()
277 HandleCustomWM_INITMENU(HWND hwnd, HMENU hmenu) in HandleCustomWM_INITMENU() argument
282 if (!hwnd || !hmenu) in HandleCustomWM_INITMENU()
[all …]
/dports/x11-servers/xephyr/xorg-server-1.20.13/hw/xwin/
H A Dwinprefs.c74 HMENU hmenu, hsub; in MakeMenu() local
90 hmenu = editMenu; in MakeMenu()
94 hmenu = CreatePopupMenu(); in MakeMenu()
95 if (!hmenu) { in MakeMenu()
112 InsertMenu(hmenu, in MakeMenu()
119 InsertMenu(hmenu, item, MF_BYPOSITION | MF_SEPARATOR, 0, NULL); in MakeMenu()
126 InsertMenu(hmenu, in MakeMenu()
138 return hmenu; in MakeMenu()
277 HandleCustomWM_INITMENU(HWND hwnd, HMENU hmenu) in HandleCustomWM_INITMENU() argument
282 if (!hwnd || !hmenu) in HandleCustomWM_INITMENU()
[all …]
/dports/x11-servers/xorg-vfbserver/xorg-server-1.20.13/hw/xwin/
H A Dwinprefs.c74 HMENU hmenu, hsub; in MakeMenu() local
90 hmenu = editMenu; in MakeMenu()
94 hmenu = CreatePopupMenu(); in MakeMenu()
95 if (!hmenu) { in MakeMenu()
112 InsertMenu(hmenu, in MakeMenu()
119 InsertMenu(hmenu, item, MF_BYPOSITION | MF_SEPARATOR, 0, NULL); in MakeMenu()
126 InsertMenu(hmenu, in MakeMenu()
138 return hmenu; in MakeMenu()
277 HandleCustomWM_INITMENU(HWND hwnd, HMENU hmenu) in HandleCustomWM_INITMENU() argument
282 if (!hwnd || !hmenu) in HandleCustomWM_INITMENU()
[all …]
/dports/x11-servers/xwayland-devel/xorg-xserver-xorg-server-21.0.99.1-177-g9e5a37961/hw/xwin/
H A Dwinprefs.c72 HMENU hmenu, hsub; in MakeMenu() local
88 hmenu = editMenu; in MakeMenu()
92 hmenu = CreatePopupMenu(); in MakeMenu()
93 if (!hmenu) { in MakeMenu()
110 InsertMenu(hmenu, in MakeMenu()
117 InsertMenu(hmenu, item, MF_BYPOSITION | MF_SEPARATOR, 0, NULL); in MakeMenu()
124 InsertMenu(hmenu, in MakeMenu()
136 return hmenu; in MakeMenu()
275 HandleCustomWM_INITMENU(HWND hwnd, HMENU hmenu) in HandleCustomWM_INITMENU() argument
280 if (!hwnd || !hmenu) in HandleCustomWM_INITMENU()
[all …]
/dports/x11-servers/xarcan/xarcan-0.6.0/hw/xwin/
H A Dwinprefs.c72 HMENU hmenu, hsub; in MakeMenu() local
88 hmenu = editMenu; in MakeMenu()
92 hmenu = CreatePopupMenu(); in MakeMenu()
93 if (!hmenu) { in MakeMenu()
110 InsertMenu(hmenu, in MakeMenu()
117 InsertMenu(hmenu, item, MF_BYPOSITION | MF_SEPARATOR, 0, NULL); in MakeMenu()
124 InsertMenu(hmenu, in MakeMenu()
136 return hmenu; in MakeMenu()
275 HandleCustomWM_INITMENU(HWND hwnd, HMENU hmenu) in HandleCustomWM_INITMENU() argument
280 if (!hwnd || !hmenu) in HandleCustomWM_INITMENU()
[all …]
/dports/www/privoxy/privoxy-3.0.33-stable/
H A Dw32log.c1022 void OnLogInitMenu(HMENU hmenu) in OnLogInitMenu() argument
1025 …EnableMenuItem(hmenu, ID_TOOLS_EDITDEFAULTACTIONS, MF_BYCOMMAND | (g_default_actions_file ? MF_ENA… in OnLogInitMenu()
1026 …EnableMenuItem(hmenu, ID_TOOLS_EDITUSERACTIONS, MF_BYCOMMAND | (g_user_actions_file ? MF_ENABLED :… in OnLogInitMenu()
1027 …EnableMenuItem(hmenu, ID_TOOLS_EDITDEFAULTFILTERS, MF_BYCOMMAND | (g_default_filterfile ? MF_ENABL… in OnLogInitMenu()
1028 …EnableMenuItem(hmenu, ID_TOOLS_EDITUSERFILTERS, MF_BYCOMMAND | (g_user_filterfile ? MF_ENABLED : M… in OnLogInitMenu()
1030 EnableMenuItem(hmenu, ID_TOOLS_EDITTRUST, MF_BYCOMMAND | (g_trustfile ? MF_ENABLED : MF_GRAYED)); in OnLogInitMenu()
1034 …CheckMenuItem(hmenu, ID_VIEW_LOGMESSAGES, MF_BYCOMMAND | (g_bLogMessages ? MF_CHECKED : MF_UNCHECK… in OnLogInitMenu()
1035 …CheckMenuItem(hmenu, ID_VIEW_MESSAGEHIGHLIGHTING, MF_BYCOMMAND | (g_bHighlightMessages ? MF_CHECKE… in OnLogInitMenu()
1036 …CheckMenuItem(hmenu, ID_VIEW_LIMITBUFFERSIZE, MF_BYCOMMAND | (g_bLimitBufferSize ? MF_CHECKED : MF… in OnLogInitMenu()
1040 …CheckMenuItem(hmenu, ID_TOGGLE_ENABLED, MF_BYCOMMAND | (global_toggle_state ? MF_CHECKED : MF_UNCH… in OnLogInitMenu()
[all …]

12345678910>>...19