Results 1 to 2 of 2

Thread: SetWindowsHookEx

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    10
    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.

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width