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. General Programming
  3. C#
  4. up down left right not responding

up down left right not responding

Scheduled Pinned Locked Moved C#
helpquestion
3 Posts 3 Posters 0 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.
  • S Offline
    S Offline
    Steven M Hunt
    wrote on last edited by
    #1

    For some reason, left, right, up, and down arrows aren't getting caught by OnKeyDown. Does anyone know what could be causing this problem? -- Steve

    S L 2 Replies Last reply
    0
    • S Steven M Hunt

      For some reason, left, right, up, and down arrows aren't getting caught by OnKeyDown. Does anyone know what could be causing this problem? -- Steve

      S Offline
      S Offline
      sreejith ss nair
      wrote on last edited by
      #2

      hi, P;)lease clarify little bit more. Which control and which evet. ************************** S r e e j i t h N a i r **************************

      1 Reply Last reply
      0
      • S Steven M Hunt

        For some reason, left, right, up, and down arrows aren't getting caught by OnKeyDown. Does anyone know what could be causing this problem? -- Steve

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        The OnKeyDown and OnKeyUp events don't catch the arrow keys. OnKeyPress catches the arrow keys. It's an annnoying little workaround, the OnKeyDown/OnKeyUp catch the ASCII chars and the modifiers (Ctrl, Shift, Alt) but not the arrow keys and the OnKeyPress catches ASCII chars and arrows but not modifiers. Aaron Eldreth TheCollective4.com My Articles While much is too strange to be believed, Nothing is too strange to have happened. - T. Hardy

        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