Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   How to control the arrow with the arrow keys move in c++ (http://www.go4expert.com/forums/control-arrow-arrow-keys-cpp-t28413/)

HKen 20May2012 16:03

How to control the arrow with the arrow keys move in c++
 
hi all,
How to control the arrow with the arrow keys move,Press "ENTER" key enter next interface.use left,right,up,down control.
such as:

--> menu-1 menu-4
menu-2 menu-5
menu-3 menu-6
thanks. :worried:

xpi0t0s 21May2012 13:14

Re: How to control the arrow with the arrow keys move in c++
 
It's OS-specific. In Windows for example you could call GetKeyState(), and/or process the relevant WM_CHAR messages in your message loop.


All times are GMT +5.5. The time now is 19:43.