Can any body tell me how to use the API SetWindowsHookEx With WH_CALLWNDPROC option in VB. I want to trap keys used for any application.
Printable View
Can any body tell me how to use the API SetWindowsHookEx With WH_CALLWNDPROC option in VB. I want to trap keys used for any application.
The only system wide hooks you can use with vb are the two journalrecord hooks (WH_JOURNALRECORD and WH_JOURNALPLAYBACK).
For an example search this forum for WH_JOURNALRECORD, I posted a sample some time ago.