Making UI for console application [closed]

旧时模样 提交于 2019-12-03 11:10:00

That would be based on a very simple framework which writes directly to the video to draw the underlying shadows, drop down menus, etc, not alone that, since 'Edit.com` would be written in assembler for speed in relation to drawing, this is quite ancient by today's standards, you can however take a look at PDCurses which will enable you to do this kind of thing.

The neat beauty is, PDCurses is compatible with the unix equivalent of Curses.

But, really, today, it is all about GUI and Windows....

What kind of application are you trying to do?

IIRC, from my old days, there was an object orientated framework for this using TurboVision, which has a port available with open source now, see this wikipedia entry on this TurboVision.

Stephane Halimi

Today, console applications are either old DOS applications emulated more and less in Windows, or command-line interpreters. Anyway, if you really want to do an editor, use the System.Console class in the System NameSpace and use the SetCursorPosition method to write what you want where you want

The edit.com window you are showing appear to be developed with Turbo Vision, an old console gui library written by Borland many years ago.

Borland put the software in public domain and release its C++ sources. There is also a porting to Pascal, developed by the community, called Free Vision.

Unfortunately ,I don't think there is a porting or a wrapper to dot.net, so you have to write your own. Or, at least, you can look at the sources to get inspired...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!