Posts: 12,135
Threads: 142
Joined: Dec 2002
Quote:Is there a way to automatically hilight a menu item when a QM popup menu is
displayed (so that Enter will choose that item without having to hilight via
arrow keys)?
Quote:2) Select first drop-down menu item (i.e., select New when Alt+F drops down
File menu)
Create function:
Name: qm_menu_hilite
Trigger (paste in the Trigger field on the toolbar): !cv"" "#32768" /QM
;\
;is first item selected?
int hwnd=val(_command)
Acc a=acc(hwnd)
a.Navigate("first child1")
if(a.State&STATE_SYSTEM_FOCUSED) ret
;select first item using down arrow
PostMessage(hwnd WM_KEYDOWN VK_DOWN 0)
err+
Posts: 1,271
Threads: 399
Joined: Mar 2003
thats a nice one.
i think you should move it to resources.
Posts: 12,135
Threads: 142
Joined: Dec 2002
I think some day I'll collect links to topics like this and add to resources as single topic.