473,386 Members | 1,741 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,386 software developers and data experts.

Menu Recommendation

I am in the process of porting a program from DOS to VB.NET. I was given
the direction of recreating the feel and functionality of the menu system
from DOS. The system will not have access to a mouse so it will (read must)
all be done through Arrow/Enter keys. The way I'm planning to attack this
right now is to use Graphics.DrawString & Graphics.FillRectangle in the
Form.Paint method to duplicate the look and feel of the DOS menus. Anyone
have a better way to appoach this problem?

Chris
Nov 16 '05 #1
7 1182
If you want to mimic DOS's look and feel (for whatever reason), the
question you have to ask is why are you porting this app to .Net?

------
Ajay Kalra
aj*******@yahoo.com

Nov 16 '05 #2
Does recreating the feel and functionality mean it has to look identical?
One might think it would just need to be organized and accessed in the same
way. Not knowing how it was organized, though, I wouldn't have
suggestions... just not sure if you have a specific need for the exact look
from what you said. If you want the menu functionality that you get from
..NET menu items, but just to have it look different, then the "manual"
drawing you suggest is probably the way to go.

Not having access to mouse does not mean that arrow/enter keys are the only
way. You can also have Alt + Character hot keys and Function keys shortcuts
and ctrl + key shortcuts. All of these can be easily done in the ordinary
menu functionality.

Hope this helps...
-Rachel

"news.microsoft.com" <No****@NoSpam.com> wrote in message
news:Oq**************@TK2MSFTNGP10.phx.gbl...
I am in the process of porting a program from DOS to VB.NET. I was given
the direction of recreating the feel and functionality of the menu system
from DOS. The system will not have access to a mouse so it will (read must) all be done through Arrow/Enter keys. The way I'm planning to attack this
right now is to use Graphics.DrawString & Graphics.FillRectangle in the
Form.Paint method to duplicate the look and feel of the DOS menus. Anyone
have a better way to appoach this problem?

Chris

Nov 16 '05 #3
"news.microsoft.com" <No****@NoSpam.com> schrieb:
I am in the process of porting a program from DOS to VB.NET. I was given
the direction of recreating the feel and functionality of the menu system
from DOS. The system will not have access to a mouse so it will (read
must) all be done through Arrow/Enter keys. The way I'm planning to attack
this right now is to use Graphics.DrawString & Graphics.FillRectangle in
the Form.Paint method to duplicate the look and feel of the DOS menus.


I don't think that this is worth the effort. Windows Forms are intended for
creating Windows applications, not clones of DOS applications. Even Windows
menus provide full keyboard access over shortcuts and F10-{arrow keys,
accelerators}. I strongly suggest to use typical Windows menus.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 16 '05 #4
Chris,

What kind of Dos and what kind of menu's are you talking about.

I never saw any menu functionality in MS-Dos by instance, there all was/is
programmer build and/or done by the development tool that is/was used, which
even could be the standard texteditor and batch files.

A nice replacement for the way it often was done can be the treeview by the
way.

Cor
Nov 16 '05 #5
> If you want to mimic DOS's look and feel (for whatever reason), the
question you have to ask is why are you porting this app to .Net?


Because IT want zero footprint, no-rollout and centralised update of
applications and users want remote access.

But...

Increasingly, users are also wanting the functionality of traditional client
based applications which is a challenge, to say the least.

Cheers, Rob.
Nov 16 '05 #6
> Form.Paint method to duplicate the look and feel of the DOS menus. Anyone
have a better way to appoach this problem?


May I suggest you have a serious look at NetAdvantage 2005 Vol 1:

http://infragistics.com/

This set of controls includes a menu builder. Now whilst not beyond the witt
of man to roll-your-own, ~£500 (which is what a single developer license
costs) doesn't buy you much development time (day?). There is a bit of a
learning curve and NetAdvantage can be a bit slow as it does tend to
generate large HTML files to be delivered to the client but this is overcome
by the functionality.

Cheers, Rob.
Nov 16 '05 #7
> Form.Paint method to duplicate the look and feel of the DOS menus. Anyone
have a better way to appoach this problem?


And yes, I agree with others - trying to mimic a keyboard driven system in a
web app is kind of against the whole idea :-)

But then again, one of key (ha!) advantages of our main VB6 client
application is that competent users can do an awful lot of form entry
without their hands leaving the keyboard. In a rapid-response (e.g. call
centre) application this is an important requirement. You'd be amazed how
much time is wasted moving your hand off the keyboard to use the mouse.

A competent keyboard user oozes efficiency :-) I can open a new email, enter
recipient, check it, enter subject, email body, spell check and send all
without my hands leaving the keyboard. Some have said "a blur" <grin>

Rob.
Nov 16 '05 #8

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

Similar topics

36
by: Peter Brause | last post by:
Hello, my stylesheet shows different colors for visited, active and hovered links. It works fine in IE 6, but in Opera 7 the color for the active link (red background) is never shown. How to...
5
by: Papa.Legba.666 | last post by:
I am a total lamer clueless stupid newbie (so please flame me). Honestly, I know nothing of CSS, although I tend to pick things up quickly... A friend pointed out that my JavaScript menu...
10
by: Gernot Frisch | last post by:
Hi, I have found some menu functions. It works quite well, but how can I replace it with a simple <a href> if javascript is turned off? I reduced my code to:...
1
by: JMosey | last post by:
Not sure if this has been covered ( a google search came up pretty bare). I have a site that: - has multi-level cascading menus - floats center of the browser window - Will have fairly heavy...
2
by: Dave Taylor | last post by:
Is there a decent explanation of how menu merging with MDI forms work in VB.NET? I've read through the online help and it still seems that whenever I change menus around or whatever, it breaks...
7
by: news.microsoft.com | last post by:
I am in the process of porting a program from DOS to VB.NET. I was given the direction of recreating the feel and functionality of the menu system from DOS. The system will not have access to a...
4
by: Amil | last post by:
Does anyone have a recommendation on an AWESOME (free) horizontal drop-down menu using DTHML? I'm not using VS 2005 yet. Thanks. Amil
2
by: MCM | last post by:
I'm working on a plotting control. The plotting control will have a context menu with basic commands for "scaling", "zooming", etc. Is there a way that, from the parent form, I can add more...
19
by: Jim | last post by:
Hi, I have two questions/problems pertaining to CSS horizontal dropdown menus and am hoping that someone here can help me out. (1) I'm having a problem centering the menu. I picked up the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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,...

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.