I have a Window with ButtonBar and XBrowse. No menu.
How can I perform some operations on Alt+<Key> shortcuts?
I need to do both Alt+<letter> and Alt+<F_key>
Thank you.
SetKey( VK_F2, {||Shortcut()} )
Procedure Shortcut()
If GetKeyState(VK_SHIFT) // Shift
? "Shift+F2"
end
If GetKeyState(VK_CONTROL) // CTRL
? "Ctrl+F2"
end
If GetKeyState(VK_MENU) // Alt
? "Alt+F2"
end
return
...
If GetKeyState(VK_MENU) // Alt
? "Alt+F2"
end
..
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 92 guests