Help

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

Hi,
I am developing a windows application in C# using Visual Studio .Net IDE.
The application has a standard Menu bar which is visible on the top of the
screen.
The items of the Menu bar are
1. File
2. Edit
3. Tools
4. Help
Short cuts are also there for user to select a menu item.

Now I am facing a peculiar problem which I believe I had not faced with
applications developed using Visual C++ or Visual Basic (Visual Studio 6.0
or earlier). If I select a menu item, for example I select "Edit" and I use
right arrow key to move to other main menu items. After I reach "Help", I
expect "File" menu item to be selected in case I again press right arrow
key. But the application is showing the Windows form control menu ( with
options such as "Restore","Minimize etc.). Same issue is there if I use left
arrow to navigate the menu items.
I have tried it a few times on a variety of applications and I am getting
the same error. It would be great if someone could help me to solve the
problem. I believe probably some configuration has to be done in the windows
form as I do not believe Microsoft has left this issue to the programmers,
to write code to catch the event for right / left arrow movement.

Please help !
Gary
 
I think this is standard Windows behavior and not specific
to .NET. I wonder if your old VC++ and VB apps actually
behaved this way too and you just never noticed. Notice
that Notepad and VC++ 6.0 behave this way. On the other
hand, I notice that Internet Explorer *doesn't* cycle
through the "window" menu; I suspect that this is because
IE's menu bar isn't really a standard Windows menu bar at
all, but rather some sort of toolbar which just *looks*
like a menu bar.

-Conrad
 
Back
Top