473,698 Members | 2,943 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Menus and short cut keys

If I create a MainMenu control on a form, and include short cut keys:

(i.e. &File , E&xit )

and run the app, the shortcut functionality Alt-F-X opens the menus and
works, but in the default state of the running form, the underscores (in my
example under the letter "F" in "File" and "x" in "Exit") are NOT visible by
default.

After hitting Alt-F, you THEN see the appropriate underscores.... but it
seems to imply that you need to know, ahead of time, what the top level
short cut strategy is.....

Thus, a user will not see the shortcut strategy on the top level of the menu
visible with the form.

What am I overlooking ?

Thank you in advance for any input.

--
Frank Bachman
(Grumpy Aero Guy)

Nov 21 '05 #1
4 1225
Hi,

It is a Windows settting: Open Control Panel | Display. On the Appearnace
tab click Effects button and on the resulting dialog, uncheck 'Hide
underlined letters for keyboard...' and click OK.

HTH

"Grumpy Aero Guy" <fbachman@beer_ me.com> wrote in message
news:OO******** ******@TK2MSFTN GP09.phx.gbl...
If I create a MainMenu control on a form, and include short cut keys:

(i.e. &File , E&xit )

and run the app, the shortcut functionality Alt-F-X opens the menus and
works, but in the default state of the running form, the underscores (in my
example under the letter "F" in "File" and "x" in "Exit") are NOT visible by
default.

After hitting Alt-F, you THEN see the appropriate underscores.... but it
seems to imply that you need to know, ahead of time, what the top level
short cut strategy is.....

Thus, a user will not see the shortcut strategy on the top level of the menu
visible with the form.

What am I overlooking ?

Thank you in advance for any input.

--
Frank Bachman
(Grumpy Aero Guy)


Nov 21 '05 #2
thanks.... so many twists, so many turns ...

--
Frank Bachman
(Grumpy Aero Guy)
"Shiva" <sh******@onlin e.excite.com> wrote in message
news:u%******** ********@TK2MSF TNGP12.phx.gbl. ..
Hi,

It is a Windows settting: Open Control Panel | Display. On the Appearnace
tab click Effects button and on the resulting dialog, uncheck 'Hide
underlined letters for keyboard...' and click OK.

HTH

"Grumpy Aero Guy" <fbachman@beer_ me.com> wrote in message
news:OO******** ******@TK2MSFTN GP09.phx.gbl...
If I create a MainMenu control on a form, and include short cut keys:

(i.e. &File , E&xit )

and run the app, the shortcut functionality Alt-F-X opens the menus and
works, but in the default state of the running form, the underscores (in
my
example under the letter "F" in "File" and "x" in "Exit") are NOT visible
by
default.

After hitting Alt-F, you THEN see the appropriate underscores.... but it
seems to imply that you need to know, ahead of time, what the top level
short cut strategy is.....

Thus, a user will not see the shortcut strategy on the top level of the
menu
visible with the form.

What am I overlooking ?

Thank you in advance for any input.

--
Frank Bachman
(Grumpy Aero Guy)

Nov 21 '05 #3
"Grumpy Aero Guy" <fbachman@beer_ me.com> schrieb:
If I create a MainMenu control on a form, and include short cut keys:

(i.e. &File , E&xit )

and run the app, the shortcut functionality Alt-F-X opens the menus and
works, but in the default state of the running form, the underscores (in
my example under the letter "F" in "File" and "x" in "Exit") are NOT
visible by default.

After hitting Alt-F, you THEN see the appropriate underscores....


Showing the keyboard navigation indicators
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=showacceler ators>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #4
Vielen Dank....

Immer was neues und anderes !!!!!

--
Frank Bachman
(Grumpy Aero Guy)
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:uH******** *****@TK2MSFTNG P11.phx.gbl...
"Grumpy Aero Guy" <fbachman@beer_ me.com> schrieb:
If I create a MainMenu control on a form, and include short cut keys:

(i.e. &File , E&xit )

and run the app, the shortcut functionality Alt-F-X opens the menus and
works, but in the default state of the running form, the underscores (in
my example under the letter "F" in "File" and "x" in "Exit") are NOT
visible by default.

After hitting Alt-F, you THEN see the appropriate underscores....


Showing the keyboard navigation indicators
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=showacceler ators>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2226
by: Peter | last post by:
how can i define shortkeys for menu titles (not menuitems)? i don't want to use swing but awt. on the web there are 1000 examples how to do this for items but for titles??? the keys should be underlined and be a combination ALT+Key. Peter
3
2444
by: Gufus | last post by:
Hi Group... I'm using this /old/ method of pulldown menus, is there another (better) way of doing it? Something that looks better. <script language="JavaScript"> function fetch(){ var newtemp; var tempurl;
1
1544
by: Doug Bell | last post by:
Hi, If I modify my Registry adding a new key HKEY_CLASSES_ROOT\*\shell\Use My App\command with a (Default) Value of C:\Program Files\Doug\DotNetApps\MyApp.exe "%1" then right clicking on files in the Explorer Windows opens the context menu with the option "Use My App" and selecting this runs My App with the selected file name. Just as I wanted. The problem I now have is that double clicking a Visual Studio file (.sln) also starts My...
0
1291
by: Jonathan LaRosa | last post by:
Hi, I am working with a DB with custom menus. I am trying to get the "send to -> mail recipient (as attachment)" to show up on the custom menu. However, for the life of me I can't seem to get the "send to" part to show up. I can add the "mail recipient (as attachment)", but not the "send to". Any ideas? Furthermore, I also want to add "send to..." to the short-cut menu (i.e. when a user right clicks on a report), but I'm not sure...
1
11314
by: cefrancke | last post by:
I have set the Startup properties to the following... All menus, toolbars, etc are turned off plus these are unchecked Allow Full Menus Allow Built-in Toolbars Allow Default Shortcut Menus Allow Toolbar/Menu Changes Use Access Special Keys
12
1924
by: iKiLL | last post by:
Hi I am new to C#, i have come from a VB6 backgrouond. What i am looking for is a list of the Short cut keys for C# and what they do. I am in perticulare looking for the keys to jump to a Decleration and then back to where you came from in the code, like in VB6. (SHIFT+F9 and CTRL+SHIFT+F9)
5
1839
slapshock
by: slapshock | last post by:
hi everyone!!!!!! is anyone up there can help me with my problem?? i want to have a short cut keys in my system.... my problem is i dont know how to do it............. for example,i want to go to to the textbox NAME...and i want to set alt+ N as a shortcut key.... the problem is i dont know the codes on how to combine the two ascii code... i dont know to combine ALT and N in order to have the short cut for the textbox.... pls help me...
1
1670
by: luqman | last post by:
How can I use the short cut keys like F2, F3 on web form, so do some process. For example: Pressing F2 should save the Document, pressing F3 should click the Button etc. I am using VS 2005. Best Regards,
10
2809
by: prakashwadhwani | last post by:
Office 2007 & thus Access has had it's menus replaced with the Ribbon Bar. It's very disconcerting. In Word, Excel, Access, I feel totally lost. Also all the shortcut Menu pulldowns don't work anymore ... eg Alt F-S to save a file Alt F-U for Page Setup in Word/Excel etc. etc.
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8902
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7740
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4623
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2339
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.