Feb 19, 2013 at 4:12pm UTC
how can i design an console app such that its menu's options are used by mouse or get highlighted and enterable by using arrow keys of keyboard???
Last edited on Feb 19, 2013 at 4:24pm UTC
Feb 19, 2013 at 5:19pm UTC
You can do it by not using the console.
Feb 19, 2013 at 9:12pm UTC
That doesn't really answer the question.
Google around PDCurses (for Windows) and NCurses (for Mac and *nix)
That's the library you'll need to use.
You can do it with the Windows API directly, but you'll have an easier time just starting out with Curses.
Oh, and unless your requirements specifically require a console application, you really should look to making a GUI.
Hope this helps.
Feb 19, 2013 at 9:18pm UTC
Make a GUI-based windowed program that emulates a text-based terminal.
Last edited on Feb 19, 2013 at 9:18pm UTC
Feb 19, 2013 at 9:32pm UTC
well you dont need a gui... im writing a program right now in ncurses to use the console and it takes arrow keys and if i wanted to i could make it take mouse input