|
发表于 2011-8-17 13:09:38
|
显示全部楼层
b8411243 发表于 2011-8-17 07:47 
请问大大
第二个要怎么改
hnexthookproc = SetWindowsHookEx(WH_KEYBOARD, AddressOf MyKBHFunc, app.h ...
Private Declare GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hWnd As integer, ByVal nIndex As integer) As integer
hnexthookproc = SetWindowsHookEx(WH_KEYBOARD, AddressOf MyKBHFunc, GetWindowLong(Me.handle , -6), 0) |
|