> 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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> 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
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
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
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....