[icq-devel] Tracking moues



ggr ggr at bak.rr.com
Fri Jan 3 00:27:11 CET 2003


1/2/2003 2:46:02 PM, Remy Lebeau <gambit47 at yahoo.com> wrote:

>You will probably need a global WH_MOUSE hook via the
>Win32 API function SetWindowsHookEx() implemented
>inside a DLL.
>
>The simplier alternative would be to simply call
>GetCursorPos() in a loop or separate thread and track
>when its current position changes.
>
>
>Gambit


Thanks, I will look into both of those, maybe a thread in the background watch the mouse cursor will do..
I want to keep my install clean (no dll's or bs)

Gene

>--- ggr <ggr at bak.rr.com> wrote:
>
>> How do I tell if someone moves the mouse (under
>> winNT/XP) while my program does not have focus?
>> 
>> I need to implement the auto away, but the
>> SetMouseCapture does not work the same in
>> winNT/XP as Win32.
>
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>http://mailplus.yahoo.com
>-------------------------------------------------
>icq-devel - The forum for ICQ protocol discussion
>For unsubscribe and other mailing list info, see:
>http://www.d.kth.se/~d95-mih/icq/icq-devel/
>
>






More information about the icq-devel mailing list