|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
I would give a better look to the software I'm writing, I want to be able to select an option by highlight it with arrow keys instead of write the correspondent number, something like what you can see in the pic below
![]() Where could I find documentation to do such a thing? |
| Sponsored Links |
|
|
|
|||||
|
You could choose to use the library, curses, which also is available for Windows. You could also do it, only using functions from the Win32 API. Take a look at this source, it will help you getting started.
|
|
|||
|
I'd recommend curses solely for portability. Most systems have an implementation of it.
|
|
|||
|
My software has a didactic aim and the code suggested by v0id matches what I need. I have understood how to obtain the graphic effect I want and I can do it.
I have only one problem now, inside that code you can read Code:
menu_item const pb_list_menu[] =
{
{"Ole", NULL, func_231},
{"Peter", NULL, func_232},
{"Poul", NULL, func_233},
{"Back", NULL, NULL},
{NULL, NULL, NULL}
};
Something like this Code:
menu_item const main_menu[] =
{
{"Write a new email", NULL, WriteMail(hServer, hClient)},
{"Read received emails", NULL, ReadMail(hServer, hClient, 2)},
{"Read sent emails", NULL, ReadMail(hServer, hClient, 3)},
{"Delete email",NULL, DeleteMail(hServer)},
{"Exit", NULL, LogOut(hServer)},
{NULL, NULL, NULL}
};
|
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to create a XML file at the server side? | shannelleng | ASP, ASP.NET and Coldfusion | 8 | 08-12-2007 04:27 AM |
| create e-book compiler | pcdctr | General Programming | 8 | 05-23-2007 07:26 AM |
| Create pluggin with Java | nilshv | Java Help | 0 | 04-08-2007 10:27 AM |
| Create a ripple effect | ahsan16 | Photoshop Tutorials | 6 | 01-11-2007 11:55 AM |
| Cool Article for Visual Studio 2005 - Create non-square forms | Jordan | Software Development Tools | 2 | 05-01-2006 07:36 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |