Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmessage and user32.dll

Status
Not open for further replies.

zackiv31

Programmer
May 25, 2006
148
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top