473,322 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Missing the _ when making fast access in mainMenu control

I am running into the following problem would like to know if this a bug or me doing something wrong.

Using C# with visual studios 2003. I make a form and add a mainMenu Control.
Now I type in "&File". Then in the underlaying menu I make the following menu items.
"&Open"
"&New"
"&Print"
"E&xit"

I run the program but to my big suprice there is no _ under F of the word File. Same with menu items Open, New, Print and Exit. If I press the ALT key then the _ shows up. Why those this happen. In my opinion it should always be there the _ symbol.

Bardo
Nov 16 '05 #1
3 1532
Bardo,
I run the program but to my big suprice there is no _
under F of the word File. Same with menu items Open,
New, Print and Exit. If I press the ALT key then the _
shows up. Why those this happen. In my opinion it
should always be there the _ symbol. Its a feature of Windows XP & possibly Windows 2000.

Under Windows XP: You can control it by right clicking on the Desktop &
selecting Properties, select the Appearance tab, and click the Effects
button, then uncheck 'Hide underlined letters for keyboard navigation until
I press the Alt key' option , finally click Ok on both dialog boxes.

Hope this helps
Jay

"bardo" <ba***@discussions.microsoft.com> wrote in message
news:BB**********************************@microsof t.com... I am running into the following problem would like to know if this a bug or me doing something wrong.
Using C# with visual studios 2003. I make a form and add a mainMenu Control. Now I type in "&File". Then in the underlaying menu I make the following menu items. "&Open"
"&New"
"&Print"
"E&xit"

I run the program but to my big suprice there is no _ under F of the word File. Same with menu items Open, New, Print and Exit. If I press the ALT key
then the _ shows up. Why those this happen. In my opinion it should always
be there the _ symbol.
Bardo

Nov 16 '05 #2
Thanks Jay,

I removed the check and the problem is solved. Thanks.
Jay if you read this by change could you maybe take the time and explain to me why programs like Visual Studios and All the office programs (and many more) still show "_" (mnemonic) regardless of what is checked in the option "Hide underlined letters for keyboard navigation until"I press the Alt key' option "

Thanks bardo
"Jay B. Harlow [MVP - Outlook]" wrote:
Bardo,
I run the program but to my big suprice there is no _
under F of the word File. Same with menu items Open,
New, Print and Exit. If I press the ALT key then the _
shows up. Why those this happen. In my opinion it
should always be there the _ symbol.

Its a feature of Windows XP & possibly Windows 2000.

Under Windows XP: You can control it by right clicking on the Desktop &
selecting Properties, select the Appearance tab, and click the Effects
button, then uncheck 'Hide underlined letters for keyboard navigation until
I press the Alt key' option , finally click Ok on both dialog boxes.

Hope this helps
Jay

"bardo" <ba***@discussions.microsoft.com> wrote in message
news:BB**********************************@microsof t.com...
I am running into the following problem would like to know if this a bug

or me doing something wrong.

Using C# with visual studios 2003. I make a form and add a mainMenu

Control.
Now I type in "&File". Then in the underlaying menu I make the following

menu items.
"&Open"
"&New"
"&Print"
"E&xit"

I run the program but to my big suprice there is no _ under F of the word

File. Same with menu items Open, New, Print and Exit. If I press the ALT key
then the _ shows up. Why those this happen. In my opinion it should always
be there the _ symbol.

Bardo


Nov 16 '05 #3
Bardo,
Simple Visual Studio & Office effectively use Owner Draw menus.

Remember VS & Office don't really have a "menu" or a "toolbar" they have
CommandBars, where you can put a "menu" item on a toolbar, and a "toolbar
item" on a menu.

I'm not sure if they start with an actual Win32 Menu object & Toolbar object
and extend it, or if it is 100% custom code.

Hope this helps
Jay

"Bardo" <Ba***@discussions.microsoft.com> wrote in message
news:F7**********************************@microsof t.com...
Thanks Jay,

I removed the check and the problem is solved. Thanks.
Jay if you read this by change could you maybe take the time and explain to me why programs like Visual Studios and All the office programs (and many
more) still show "_" (mnemonic) regardless of what is checked in the option
"Hide underlined letters for keyboard navigation until"I press the Alt key'
option "
Thanks bardo
"Jay B. Harlow [MVP - Outlook]" wrote:
Bardo,
I run the program but to my big suprice there is no _
under F of the word File. Same with menu items Open,
New, Print and Exit. If I press the ALT key then the _
shows up. Why those this happen. In my opinion it
should always be there the _ symbol.

Its a feature of Windows XP & possibly Windows 2000.

Under Windows XP: You can control it by right clicking on the Desktop &
selecting Properties, select the Appearance tab, and click the Effects
button, then uncheck 'Hide underlined letters for keyboard navigation until I press the Alt key' option , finally click Ok on both dialog boxes.

Hope this helps
Jay

"bardo" <ba***@discussions.microsoft.com> wrote in message
news:BB**********************************@microsof t.com...
I am running into the following problem would like to know if this a
bug or me doing something wrong.

Using C# with visual studios 2003. I make a form and add a mainMenu

Control.
Now I type in "&File". Then in the underlaying menu I make the
following menu items.
"&Open"
"&New"
"&Print"
"E&xit"

I run the program but to my big suprice there is no _ under F of the
word File. Same with menu items Open, New, Print and Exit. If I press the ALT key then the _ shows up. Why those this happen. In my opinion it should always be there the _ symbol.

Bardo


Nov 16 '05 #4

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

Similar topics

2
by: Anand Ganesh | last post by:
Hi All, I am trying to create a control - .dll file. In the toolbox the MainMenu tool is disabled. What should I do to invoke it? Why is it disbaled?
6
by: Jason Huang | last post by:
Hi, In VB, we have windows control item "MainMenu", do we have this item in the ASP.Net C# web form? Or how could we make it? By the way, how about the ASP.Net 2005? Thanks for help. Jason
11
by: BoloBaby | last post by:
OK, check this out... I have a form with a panel control and button on it (outside the panel control). I have two event handlers - one handles the click event of the button on the form. The...
2
by: tony | last post by:
Hello! I have a mainManu where I can chose to display some window forms. When the mainMenu is minimized I need to minimize every window form that is started from the mainMenu. So I need to...
2
by: polocar | last post by:
Hi, I'm writing a program using Visual C# 2005 Professional Edition, and I was trying to assign multiple MainMenu objects (one by one, of course) to the same Form (let's suppose 2 MainMenu...
4
by: cj | last post by:
I don't see the mainmenu item in the toolbox of 2005. I guess I haven't created a project in 2005 using it yet. I know I upgraded some from 2003 to 2005 and they show the control mainmenu on the...
2
by: Fir5tSight | last post by:
Hi, I'm experimenting sample code created in Visual Studio 2002 (or 2003) in my Visual Studio 2005. However, I can't find the following in VS 2005: - MainMenu control in Toolbox; -...
6
by: ARC | last post by:
Ok, so I'm looking at Access 2007, and I have imported my existing Access 97 application. I'm feeling a bit overwelmed in what to do here. In my original 97 application, I had one form: Mainmenu,...
5
by: ARC | last post by:
Just found out something interesting with Access 2007... In table design, if you set a memo field to the new rich text option, and put that control on a form, set the control to rich text, you can...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.