ALT + short key not showing on GUI at run time...

dtvonly

Member
Joined
Jan 3, 2013
Messages
22
Programming Experience
5-10
Hi. I had designed the GUI with short keys;i.e ALT+key. However, when I run the executable, the underlined ALT key is not shown until I hit the ALT key. How do I display (by default) the underlined key when running the executable? thanks.
 
You mean "shortcut" rather than "short", but the proper name is actually "accelerator". Regardless, what you're seeing is Windows functionality and nothing to do with your app. There is a setting in Windows to determine whether accelerator keys are displayed all the time or only when the user presses the Alt key. That setting affects all apps that use the standard Windows method of implementing accelerator keys, not just your app. There's nothing for you to do. It is up to each user. If they haven't set that option to display accelerator keys all the time then they don't want to see them all the time, so you shouldn't impose that on them even if you can.
 
Back
Top