CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    37

    ActiveX Question

    hi,
    i have an activeX control that needs to intercept all mouse movements regardless of whether they took place over the activeX window. How would i do that while still allowing other applications to recieve mouse events?

    thanks,
    L5



  2. #2
    Guest

    Re: ActiveX Question

    Go to MSDN online, and search for the SetWindowsHookEx API call. This method allows you to trap all types of messages, either globally, or on a per-thread basis.


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

Featured