Thread: Menus in DOS programs

  1. #1
    Registered User
    Join Date
    Oct 2001

    Question Menus in DOS programs

    Can anyone give me a hint on how to do menus and menubar in console programs. Or a simple list of options you can use the tab-key to tab to the desired option and return key to make the choice?
    Im using VC++, i know this can be done in Borland whith conio.h but Microsoft has stripped conio.h from some of the features, right?!
    Any help is realy apreciated, TIA

  2. #2
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Plano, Texas, United States
    Just create a list of options, scan for an arrow key being pressed, and each time an arrow key is pressed, move the option-arrow. or, if enter is pressed, select the option.
    My Website

    "Circular logic is good because it is."

  3. #3
    Registered User
    Join Date
    Oct 2001
    OK, thanx. But I found out a way myself, by making a class with gotoxy(), setcolor() and highligthrow() member-functions. Wasnt so hard when I figured out where to look(windows.h).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DOS fullscreen
    By Zagaberoo in forum C++ Programming
    Replies: 3
    Last Post: 06-29-2004, 05:45 PM
  2. Digital Mars Compiler: compiling for DOS?
    By Waldo2k2 in forum C++ Programming
    Replies: 1
    Last Post: 09-15-2002, 02:06 PM
  3. Command Line Variable Passing (like in DOS)
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 08-31-2002, 07:31 AM
  4. DOS in windows?
    By Goof Program in forum C Programming
    Replies: 5
    Last Post: 01-31-2002, 10:31 AM