Menu

shortcut keys for opening menus

aditsu
2004-11-30
2012-09-26
<< < 1 2 (Page 2 of 2)
  • aditsu

    aditsu - 2005-01-28

    > I cannot think of what programming difference would exist in these various programs to cause this particular effect.

    the ones that don't need you to press alt might have custom-drawn menus

    > But now, what is your current status exactly?

    married, unemployed, ... j/k :)
    as I said, I solved my problem

    > but you also just said that the solution doesn't fix your code.

    I said that your solution doesn't fix my code
    in particular, I already had TranslateMessage, but I also had IsDialogMessage which was eating the relevant message for menu shortcuts
    (you wrote something about TranslateMenu, but there's no such function, I guess you meant TranslateMessage)
    you can see it all in the newsgroup discussion

    > Is it just that the underlines don't show?

    my problem was never about the underlines :)

    > In my case (RL) alt highlights the first menu item, but the underlines still don't appear.

    pressing alt (and keeping it pressed) should display underlines in the main menu, but I don't know if it has this effect after you open a menu

    > I thought the & was supposed to make them appear?

    it does make them appear
    however, (qWake, read this too), there is a Windows setting called "hide underlined letters for keyboard navigation until I press the Alt key", and in Windows XP you can find it in display properties - appearance - effects
    I turned it off, so I always see the underlines

    > In particular, I'm used to CTRL+letter making the relevant selection work, which it does, but missing the underlines is weird.

    ctrl+letter shouldn't do anything special if you don't have accelerators
    if you're already in the menu, then pressing the letter directly (without ctrl) should work

    > This seems to happen even on professionally written software. E.g., IE right now doesn't have underlined menu items, but when I push ALT they appear

    as I said, it is a Windows setting
    there's nothing wrong with the software or computer

    Adrian

     
  • aditsu

    aditsu - 2004-12-03

    I got more information - it's about TranslateMessage and IsDialogMesssage, if I use both or none then those shortcuts won't work
    still discussing in the newsgroup...

    Adrian

     
    • Nobody/Anonymous

      I have a related problem---the letter that you're supposed to press with CTRL isn't underlined. It's not the OS, because Dev-C++ has its menu working!

      MENUITEM "E&xit\tCtrl+X", IDM_EXIT

      Control + X does exit the program, but the x isn't underlined

       
  • Nobody/Anonymous

    Well, at any rate, you've compiled with Dev-C++ and got the underlines? At least then I know it's not a compiler bug....

     
<< < 1 2 (Page 2 of 2)

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.