howto show keyboard accelerator on dialog controls in resource editor?

Hello,

In VS2005 the resource editor doesn't seem to show the keyboard accelerator underline on the controls. Is there a way to turn this on? For example, if I have a control with a text caption of:

&My Control

I want to see the "M" underlined, so I know what my accelerators are? I see that if I test the dialog, I can see all the accelerators, but it would be nice to see them in the regular editor, as you could in VC++ 6.0. Any suggestions?

Thanks,

Mark

http://www.beiley.com

[606 byte] By [MarkBeiley] at [2008-1-10]
# 1

If u press ALT key, u will get to know what are ur accelerators.

Even this is the case with menu accelerators also.

I too don't know , how to show them by default.

Thanx,

Ch.T.Gopi Kumar.

TilakGopi at 2007-10-3 > top of Msdn Tech,Visual C++,Visual C++ General...
# 2

Hi Ch. T Gopi,

Thanks for your reply. This doesn't seem to work when I try it. Pressing ALT hilights the menu accelerators of the VS2005 IDE, but doesn't show any keyboard shortcuts for the dialog I'm editing in the resource editor? I'm not trying to show accelerators in a dialog that I'm using in a program, just a dialog I'm editing in the resource editor...

Thanks,

Mark

http://www.beiley.com

MarkBeiley at 2007-10-3 > top of Msdn Tech,Visual C++,Visual C++ General...
# 3

Hi Mark,

U r right.VS2005 IDE doesn't show any keyboard shortcuts for the dialog ,while editing the dialog in the resource editor.If u run and press ALT key , then only accelerators are being shown up.

Regards,

Ch.T.Gopi Kumar.

TilakGopi at 2007-10-3 > top of Msdn Tech,Visual C++,Visual C++ General...
# 4

Probably it is not so convenient, but you can also display your dialog from Resource Editor using Format --> Test Dialog menu command. Then press the <Alt> key. Use Check mnemonics command to avoid duplicates.

Viorel. at 2007-10-3 > top of Msdn Tech,Visual C++,Visual C++ General...
# 5

Hi,

In My case the problem is different When i Press ALT it shows Uderline but if i Release alt it goes off and if i press combination of ALT+F which is associated with my File Menu then it is Udelining the menu item but not poping up Menu wht could be the problem?

Kishore

Kishore_S22 at 2007-10-3 > top of Msdn Tech,Visual C++,Visual C++ General...
# 6
TilakGopi wrote:

If u press ALT key, u will get to know what are ur accelerators.

Even this is the case with menu accelerators also.

I too don't know , how to show them by default.



Since Windows 2000 the accelerator keys are not shown until the user presses the 'Alt' key by default. You can change this in the Desktop Control Panel (-> 'Appearance' -> 'Effects' -> 'Hide underlined letters for keyboard navigation until I press the Alt key').
AndreasMasur at 2007-10-3 > top of Msdn Tech,Visual C++,Visual C++ General...