Thread: virtual key codes

  1. #1
    Registered User abrege's Avatar
    Join Date
    Nov 2002
    Posts
    369

    virtual key codes

    Using virtual key codes, I want to make my program respond to the user when he presses the A letter key. MSDN tells me to use VK_A, but that comes up as unidentified. Solutions?
    I am against the teaching of evolution in schools. I am also against widespread
    literacy and the refrigeration of food.

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    use 'A'

    literally like that, mind you

    so, isVKeyPressed('A') or whatever the function you happen to be using is called

  3. #3
    Registered User abrege's Avatar
    Join Date
    Nov 2002
    Posts
    369
    perfect! much thanks
    I am against the teaching of evolution in schools. I am also against widespread
    literacy and the refrigeration of food.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 48
    Last Post: 09-26-2008, 03:45 AM
  2. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  3. Directional Keys - Useing in Console
    By RoD in forum C++ Programming
    Replies: 38
    Last Post: 10-06-2002, 04:42 PM
  4. FAQ: Directional Keys - Useing in Console
    By RoD in forum FAQ Board
    Replies: 38
    Last Post: 10-06-2002, 04:42 PM