HotKey Letter not underlined
My hotkey letter in Mainframe or child window does not underline until I select the Alt key. How can I change so the Hotkey letter is underlined when application comes up?? Thanks.
[182 byte] By [
Samiam3] at [2007-11-18 20:27:50]

# 1 Re: HotKey Letter not underlined
Windows 2000 and XP (and probably Win ME as well) standard settings do not show those lines. You have to change the properties.
Windows 2000
Open the display settings, choose register 'Effects', then unmark the bottom checkbox called 'Hide keyboard navigation indicators until I use the Alt key'.
Windows XP
Open the display settings, choose register 'Appearance', press the button 'Effects' and then unmark the bottom checkbox called 'Hide underlined letters for keyboard navigation until I press the Alt key'.
After that everything will work the way you want...
# 2 Re: HotKey Letter not underlined
You may have noticed that if you press the Alt key the HotKey letters are underlined.
Starting here I solved the problem programatically be sending the "Alt" key to my application's window when they are opened for the first time:
keybd_event( VK_MENU, 0, KEYEVENTF_KEYUP, 0);
Hope it helps.