Mar 25
Visual Basic Virtual Key Codes
Posted March 25th, 2009 by Ryan Olbe Visual Basic Modules 1 Comment »I was recently looking online for a complete list of Virtual Key Codes I could use in Visual Basic (these are used with the keybd_event, MapVirtualKey, GetKeyState, and GetAsyncKeyState functions). I couldn't find one so I decided to make my own. Since most of the lists I found online were incomplete I went straight to the source, winuser.h, and converted these line-by-line from their original C declarations. Some additional comments and key descriptions I included are from the MSDN.
Recent Comments