Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Detecting directional button

Detecting directional button

Scheduled Pinned Locked Moved Mobile
c++question
4 Posts 3 Posters 11 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dherrero
    wrote on last edited by
    #1

    Hi, does someone know how can i detect the directional button presses in a Visual C++ Application. Thanks

    J 1 Reply Last reply
    0
    • D dherrero

      Hi, does someone know how can i detect the directional button presses in a Visual C++ Application. Thanks

      J Offline
      J Offline
      Joao Paulo Figueira
      wrote on last edited by
      #2

      The direction keys work like the standard keyboard keys VK_UP and the others...

      D 1 Reply Last reply
      0
      • J Joao Paulo Figueira

        The direction keys work like the standard keyboard keys VK_UP and the others...

        D Offline
        D Offline
        dherrero
        wrote on last edited by
        #3

        ok, thanks ;)

        F 1 Reply Last reply
        0
        • D dherrero

          ok, thanks ;)

          F Offline
          F Offline
          Frank S
          wrote on last edited by
          #4

          Well, if you have a CListCtrl, you can use that function: void CList::OnKeydownList(NMHDR* pNMHDR, LRESULT* pResult) { LV_KEYDOWN* pLVKeyDow = (LV_KEYDOWN*)pNMHDR; // TODO: Add your control notification handler code here if(GetAsyncKeyState(VK_UP)) { ...... } Hope that helps :) Frank _____ easySMS for pocket PC _____ www.Siedler-Net.de/WinCE/easySMS/

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups