Thread: trapping keystokes from the keyboard

  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, 02: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, 08:07 AM
  5. Game Design Topic #2 - Keyboard or Mouse?
    By TechWins in forum Game Programming
    Replies: 4
    Last Post: 10-08-2002, 03:34 PM