CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Threaded View

  1. #7
    Join Date
    Mar 2008
    Posts
    6

    Re: Controlling RC-Car with keyboard

    Sorry for the doublepost.
    Does anyone know how to capture keys from the keyboard, in order to start different events based on it? I need to somehow do this, and it would be great if anyone had a samplecode for doing this in a .NET C++ forms application. Please post any thoughts you have on this matter.

    Keba

    EDIT: (SOLUTION FOUND)
    Thx for the help guys (irony included).
    I got help from my teacher who was nice enough to use his free time to look into this for me, as there was no help from mr. google, nor any forums.
    I am nice enough to include the code he got for me, so that I might help others.
    This traps the arrowkeys, and displays it in a textbox that has readonly=true & enable=false.
    http://rapidshare.com/files/104623821/tast.rar.html
    Last edited by Keba; April 3rd, 2008 at 02:24 PM. Reason: SOLUTION

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured