trapping keystokes from the keyboard

This is a discussion on trapping keystokes from the keyboard within the C++ Programming forums, part of the General Programming Boards category; Hi all, How do I trap keystokes from the keyboard, because my app will be running from the system tray. ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    1

    Exclamation trapping keystokes from the keyboard

    Hi all,

    How do I trap keystokes from the keyboard, because my app will be running from the system tray.

    regards

    dills

  2. #2
    Out on Bail
    Guest
    This would be a Windows specific question and not a C++ question.

    To answer your question, install a window hook. SetWindowsHookEx is the function you seek.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Detecting keyboard and mouse in linux
    By sameer.nalwade in forum C Programming
    Replies: 3
    Last Post: 11-22-2008, 04:24 AM
  2. Keyboard port using other that a keyboard
    By antoinelac in forum C++ Programming
    Replies: 4
    Last Post: 06-12-2008, 03:46 PM
  3. Virtual keys
    By Arkanos in forum Windows Programming
    Replies: 4
    Last Post: 12-12-2005, 10:00 AM
  4. Keyboard hook
    By joecaveman in forum Windows Programming
    Replies: 2
    Last Post: 09-03-2005, 09:07 AM
  5. Game Design Topic #2 - Keyboard or Mouse?
    By TechWins in forum Game Programming
    Replies: 4
    Last Post: 10-08-2002, 04:34 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21