I'm driving myself crazy trying to find the codes for all keystrokes for the user32.dll SendMessage() function.
[DllImport("user32")]
public static extern int SendMessage(int hwnd, int msg, int wparam, int lparam);
hwnd is the window. Ok I got that.
msg is the action (like keyup/keydown).
wparam is the key to press, like "A" or Ctrl?
lparam?
Fix the question marks if you can... but my main question is where can I get a listing of all the KeyCodes used in user32.dll? Like key "A" = 0x1010 and KEY_DOWN = 0xF201
[DllImport("user32")]
public static extern int SendMessage(int hwnd, int msg, int wparam, int lparam);
hwnd is the window. Ok I got that.
msg is the action (like keyup/keydown).
wparam is the key to press, like "A" or Ctrl?
lparam?
Fix the question marks if you can... but my main question is where can I get a listing of all the KeyCodes used in user32.dll? Like key "A" = 0x1010 and KEY_DOWN = 0xF201