see what key was pressed

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: see what key was pressed

  1. #1
    Join Date
    Mar 2008

    see what key was pressed

    i have a pocket pc that have some special keys
    and i need detect when a key is pressed in my program.
    how can i detect the keys that is pressed?
    i have tested in a textbox change function
    the box detect all keys except that special keys
    there is some api to look for alk keys that´s is pressed
    in pocket pc?
    thanks a lot for your help

  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    Without knowing what the "special" keys are, that is a very difficult question to answer.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Mar 2008
    thanks for your help but i have done that
    but this don´t detect the keys that i press.
    my device is this:
    and i want detect when the F1 F2 F3 F4 and others are pressed
    so i think if with a api i can do that?
    thanks a lot for your help

  4. #4
    Join Date
    Feb 2004
    Longueuil, Québec
    I have not worked with the pocket PC, but in a Windows application, we do that by retrieving e.KeyCode in the KeyDown or KeyUp event.
    Jacques Bourgeois

Similar Threads

  1. Help: Shorcut key for a commandbutton
    By craver06 in forum VB Classic
    Replies: 10
    Last Post: 02-06-2008, 12:12 PM
  2. how many times a key was pressed
    By n3XusSLO in forum C++
    Replies: 10
    Last Post: 10-07-2007, 06:48 PM
  3. Replies: 0
    Last Post: 09-21-2006, 08:19 AM
  4. Replies: 2
    Last Post: 01-27-2006, 02:09 PM
  5. Replies: 2
    Last Post: 01-27-2002, 10:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center