Click to See Complete Forum and Search --> : ActiveX Question


laiason5
May 31st, 1999, 03:21 PM
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

June 2nd, 1999, 10:39 PM
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.