Hi all, just a quick question. I have a Windows Form in my C# app with some buttons, the buttons are defined with keyboard shortcuts. The shortcuts are only displayed on the buttons when I press the ALT key.
This is according to documentation of course. Still, I would like the shortcuts to be displayed always, without having to press the ALT key. Now you will say : but they will not work when you don't press ALT first ! Which is true of course. But for sheer convenience I also have a KeyPress event on the form trapping these same shortcuts. So I can press my shortcut keys without ALT alright. It would just be nice to always see these underscores. The MessageBox dialog does just that, it shows the shortcuts and you can just press the letter. So it must be possible somehow, methinks.
Any ideas welcome !
This is according to documentation of course. Still, I would like the shortcuts to be displayed always, without having to press the ALT key. Now you will say : but they will not work when you don't press ALT first ! Which is true of course. But for sheer convenience I also have a KeyPress event on the form trapping these same shortcuts. So I can press my shortcut keys without ALT alright. It would just be nice to always see these underscores. The MessageBox dialog does just that, it shows the shortcuts and you can just press the letter. So it must be possible somehow, methinks.
Any ideas welcome !