View Single Post
  #3  
Old 07-05-2006, 07:17
aldente aldente is offline
VIP
 
Join Date: Jul 2003
Posts: 266
Rept. Given: 27
Rept. Rcvd 7 Times in 5 Posts
Thanks Given: 35
Thanks Rcvd at 10 Times in 9 Posts
aldente Reputation: 7
Hmm, obviously the WParam is just the value of the virtual key scancode, as you can see here:

Code:
{ Virtual Keys, Standard Set }
VK_CONTROL = 17; //=$11
{$EXTERNALSYM VK_MENU}
VK_MENU = 18; //=$12
(also fits for the other keys, I checked it)


Sending that myself works:

Code:
SendMessage($C0A52, WM_USER+47364, VK_MENU, $20000001);
SendMessage($C0A52, WM_USER+47364, Ord('P'), $20000001);
Thanks! Now all I have to do is to find a nice way to get that window handle...
Reply With Quote