Thread: VK_* codes

  1. #1
    Registered User canine's Avatar
    Join Date
    Sep 2001

    Question VK_* codes

    How do you get a Virtual Key code from the weird code that lParam and wParam give you when there is a key hit. If I am not making sense I'll ask you this... how could I send a key to a window (sendmessage()) and identify that key by it's VK_* code?
    Thanks in advance!
    In a perfect world every dog would have a home and every home would have a dog.
    Visit My Web Site, Canine Programming
    I use Win32 API

  2. #2
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    You could try -


  3. #3
    Registered User govi's Avatar
    Join Date
    Nov 2001

    Check out the MSDN site, it has got hell a lot of inofrmation....
    In one of the don't ask me the link, cause my head is spinning after my 2hrs of search in MSDN...

    It has got a table of VK_* code & their corersponding charachters/KEY...

    Hope this helps....

  4. #4
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    this one?:

    sorry for the bump, but I was looking through old threads

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. codes
    By IfYouSaySo in forum A Brief History of
    Replies: 34
    Last Post: 11-18-2005, 03:09 PM
  2. Replies: 1
    Last Post: 07-12-2005, 09:03 PM
  3. action replay codes
    By c++.prog.newbie in forum Game Programming
    Replies: 2
    Last Post: 02-28-2004, 08:47 AM
  4. anyone have linked-list sample codes?
    By ling in forum C++ Programming
    Replies: 3
    Last Post: 07-03-2002, 02:24 PM