|
Hi, we know we can make a access key with "&", say, "&File", so when we press the alt key, it will be displayed as "File". now my question is, could we just display "File" without press alt key? My Outlook 2003 is just behave in this way.
|
| Tyrael Tong Tuesday, September 26, 2006 2:44 AM |
Hi Tyrael,
this is a system setting and MenuStrips behavior depends on how itis set.You're probably usingthe Windows XP- open Control Panel, Display settings, and select Appearance tab. Click the Effects button and uncheck "Hide underlined letters for keyboard navigation until I pressthe Alt key".
I guess Outlook ignores this setting...
Hope this helps,
Andrej |
| Andrej Tozon Tuesday, September 26, 2006 6:06 AM |
how does it behave in outlook? what key do you press instead with "file" is shown? I cannot duplicate this in my outlook 2003 - perhaps you customized the environment for outlook 2003?
How exactly do you want your application to respond instead of pressing the Alt key to highlight/bring up the menu? |
| ahmedilyas Tuesday, September 26, 2006 4:05 AM |
Hi ahmedilyas, My outlook behave in this way: I didn't press or hold Alt key, but the menu is showing their Access Key! you can see this from the screen shoot:  Actually I don't need to change the way my application responds to Alt key pressing, I just wonder how to implement Outlook way showed in the picutre!  |
| Tyrael Tong Tuesday, September 26, 2006 4:39 AM |
ok I see, that's better! :-)
Well doing the &File in the menu text item should be ok - should highlight/underline the F ... it doesnt do that?
I've developed many apps that has the access key underlines and it shows them clearly, like in your picture.
I wonder if you set the Text property of that menu item, or control, to what you first described:
&File
should show File in the menu system without you having to press the Alt key....
is this not the case? |
| ahmedilyas Tuesday, September 26, 2006 4:58 AM |
Hi Tyrael,
this is a system setting and MenuStrips behavior depends on how itis set.You're probably usingthe Windows XP- open Control Panel, Display settings, and select Appearance tab. Click the Effects button and uncheck "Hide underlined letters for keyboard navigation until I pressthe Alt key".
I guess Outlook ignores this setting...
Hope this helps,
Andrej |
| Andrej Tozon Tuesday, September 26, 2006 6:06 AM |
Thanks a lot, Andrej! you solve the doubt in my head! But do you know the way to ignore this setting? just curious:)
|
| Tyrael Tong Wednesday, September 27, 2006 2:33 AM |
| ahmedilyas wrote: | ok I see, that's better! :-)
Well doing the &File in the menu text item should be ok - should highlight/underline the F ... it doesnt do that?
I've developed many apps that has the access key underlines and it shows them clearly, like in your picture.
I wonder if you set the Text property of that menu item, or control, to what you first described:
&File
should show File in the menu system without you having to press the Alt key....
is this not the case? |
|
Also thanks to ahmedilyas! |
| Tyrael Tong Wednesday, September 27, 2006 2:36 AM |
I don't think you can just easily ignore it. You could draw the underline yourself or use some of the system hooks. If I find aworkingsolution, I'll post here.
Andrej |
| Andrej Tozon Wednesday, September 27, 2006 8:17 AM |