Menu

#62 Some key shortcuts not-possible

None
fixed
None
2013-05-04
2013-04-26
MikeDNC
No

Hi,

In Tools >> Configure Shortcuts,

I cannot configure "Ctrl+Tab" or "Ctrl+Shift+Tab". "Shift+Tab" WORKS.
Also: anything+Enter cannot seem to be bound.

Discussion

  • MikeDNC

    MikeDNC - 2013-04-26
     

    Last edit: MikeDNC 2013-04-27
  • MikeDNC

    MikeDNC - 2013-04-26
     

    Last edit: MikeDNC 2013-04-27
  • MikeDNC

    MikeDNC - 2013-04-26
     

    Last edit: MikeDNC 2013-04-27
  • orwelldevcpp

    orwelldevcpp - 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.

     
  • MikeDNC

    MikeDNC - 2013-04-27

    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
  • orwelldevcpp

    orwelldevcpp - 2013-04-27
    • status: open --> fixed
    • assigned_to: orwelldevcpp
     
  • orwelldevcpp

    orwelldevcpp - 2013-04-27

    I've disabled Alt combinations on purpose, because the alt key is used to interact with main menus and buttons.

     
    • MikeDNC

      MikeDNC - 2013-04-27

      Oh yeah; probably better that way for simplicity.

       

      Last edit: MikeDNC 2013-04-27
  • MikeDNC

    MikeDNC - 2013-04-27

    'F[1-12]' keys seem to have gotten disabled in this preview RC6 version.

     

    Last edit: MikeDNC 2013-04-27
  • orwelldevcpp

    orwelldevcpp - 2013-04-28

    Next attempt.

    // 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;
    
     
  • MikeDNC

    MikeDNC - 2013-05-04

    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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.