// Don't accept alt shiftstate (messes up menu interaction)
if (Shift = [ssAlt]) then
Exit;
// Require a key combination when using 'normal' keys
if (Shift = []) and ((Key < VK_F1) or (Key > VK_F24)) then
Exit; // ... but allow F keys
// Don't accept shift state keys as main keys
if (Key in [VK_SHIFT,VK_CONTROL,VK_MENU]) then // VK_MENU is the alt key
Exit;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Four of them are Alt-[F-keys]; so those can never interfere with menu-selecting.
1) But the other one, Project Options, is Alt-P. There is even a main-menu, 'Project', that uses this.
2) This brings-up the idea that since F-keys can never interfere (?), maybe they could/should be allowed for shortcuts. Numbers and symbols, too. I think I've never, ever had an Alt-[0-9,punctuation,F1-F12] menu-shortcut in any other Windows program, either; so it would seem intuitively tight as well.
Last edit: MikeDNC 2013-05-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Last edit: MikeDNC 2013-04-27
Last edit: MikeDNC 2013-04-27
Last edit: MikeDNC 2013-04-27
Should be fixed as of RC6.
I've attached a preview version of that which included the fix for this problem. Please try it out.
Works! Beautiful, thanks. I was able to set all keys that Windows doesn't steal first.
Still can't set Alt+Enter actually; and I'm pretty sure Windows is not catching that.
Last edit: MikeDNC 2013-04-27
I've disabled Alt combinations on purpose, because the alt key is used to interact with main menus and buttons.
Oh yeah; probably better that way for simplicity.
Last edit: MikeDNC 2013-04-27
'F[1-12]' keys seem to have gotten disabled in this preview RC6 version.
Last edit: MikeDNC 2013-04-27
Next attempt.
There are five default shortcuts that use Alt-
Four of them are Alt-[F-keys]; so those can never interfere with menu-selecting.
1) But the other one, Project Options, is Alt-P. There is even a main-menu, 'Project', that uses this.
2) This brings-up the idea that since F-keys can never interfere (?), maybe they could/should be allowed for shortcuts. Numbers and symbols, too. I think I've never, ever had an Alt-[0-9,punctuation,F1-F12] menu-shortcut in any other Windows program, either; so it would seem intuitively tight as well.
Last edit: MikeDNC 2013-05-04