Thread: Menu Bar(using arrow key)

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    15

    Question Menu Bar(using arrow key)

    How to make a menu system for a console application. Not just a display, and enter a number, but where can use the arrow keys and each selection is highlighted or something. How do I do that by using C++?
    i am just a C++ user for a few months....
    i am using window Xp and MinGW....not visual MinGW.... .....thanks all!!!

  2. #2
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    To create a rudimentary little console menu, you might check out (rely heavily on) the API console functions. Read more about the big old family on MSDN: http://msdn.microsoft.com/library/de..._functions.asp

    For your arrow keys ::SetConsoleMode
    Making it all pretty ::FillConsoleOutputAttribute

    etc etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  2. Virtual keys
    By Arkanos in forum Windows Programming
    Replies: 4
    Last Post: 12-12-2005, 10:00 AM
  3. Directional Keys - Useing in Console
    By RoD in forum C++ Programming
    Replies: 38
    Last Post: 10-06-2002, 04:42 PM
  4. FAQ: Directional Keys - Useing in Console
    By RoD in forum FAQ Board
    Replies: 38
    Last Post: 10-06-2002, 04:42 PM