1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

How to control the arrow with the arrow keys move in c++

Discussion in 'C++' started by HKen, May 20, 2012.

  1. HKen

    HKen New Member

    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:
     
  2. xpi0t0s

    xpi0t0s Mentor

    It's OS-specific. In Windows for example you could call GetKeyState(), and/or process the relevant WM_CHAR messages in your message loop.
     
    HKen likes this.

Share This Page