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
    Posts
    164

    see what key was pressed

    hi,
    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
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    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
    Posts
    164
    hi,
    thanks for your help but i have done that
    but this don´t detect the keys that i press.
    my device is this:
    http://www.opticon.com/H15.aspx
    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
    Location
    Longueuil, Québec
    Posts
    577
    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
    JBFI
    http://www3.sympatico.ca/jbfi/homeus.htm

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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