![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
Multiple 'windows' in one msdos console character-mode applicationI have a program that I would like to make into a character-mode console application.
Specifically I'd like the screen to have two or three 'windows' for status, menus , etc. I need to do this program for msdos so I will not be able to use the awesome Linux ncurses libraries with which I have done a little of the multiple windowing. Instead I am mired in the world of ms api... I have been revisiting msdn/library from about here on: http://msdn2.microsoft.com/en-us/library/ms682010.aspx ...and am beginning to wonder if this is possible. It should be. If I remember correctly, they used to do this back in ot-1. They sure don't advertise it now. Anybody know how to do this ? I'm not ready for win32 graphical api at this time.... figured I'd get this HANDLE'd first, thanks, Howard; ps: just to jog the memory, this is a basic start (compiles and runs): CPP / C++ / C Code:
|
|
#2
|
|||
|
|||
Re: Multiple 'windows' in one msdos console character-mode applicationJust to get something up on the forum about this, I was enlightened to the fact
that there is a curses port to win32. On searching I found that it must be this: http://pdcurses.sourceforge.net/ I downloaded PDCurses33.zip and, after some struggling with my waning conceptions of package building and reading and understanding instructions, wound up with a library and header file installed for my \cs1300\mingw\gcc. So far it works great. There is still a good ncurses tutorial at: http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/ It's the first time I've looked at a source file like this and had enough knowledge to half understand what is going on. In particular, in the win32 subdirectory I can see how they are converting the console API functions into use as the curses functions. Very interesting. ...and just when I was starting to get a grip on msdn.... how can I quit now? ++Howard; |
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change 98 console character size in program? | Howard_L | C Programming Language | 1 | 25-Apr-2007 14:25 |
| need help with a console menu system | BullBuchanan | CPP / C++ Forum | 6 | 20-Aug-2006 14:46 |
| Bloodshed Dev C++ Project Options | JdS | CPP / C++ Forum | 6 | 11-Nov-2005 17:23 |
| Help! Some basal questions about MFC | xutingnjupt | MS Visual C++ / MFC Forum | 1 | 05-Dec-2004 03:38 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The