chris
--------------------------------------------------------------------------------
Christopher.G.Meenan | /
Centre for Satellite Engineering Research | / ---
University of Surrey |< | ---
| \ |--- | | -----
Tel: +44 (0) 1483 259808 | \ | |---| | ---
Fax: +44 (0) 1483 259504 --- | | | |
Email: c.me...@ee.surrey.ac.uk | | | ---
| |
-------------------------------------------------------------------------------- ---
>
>can anyone please tell me how I can find out where the mouse is at any given
>time , without having to capture it.
"GetCursorPos"
Chris
--
--------------------------------------------------------------------------
Chris Marriott, Warrington, UK | Author of SkyMap v2 award-winning
ch...@chrism.demon.co.uk | shareware Windows planetarium.
For full info, see http://www.execpc.com/~skymap
Author member of Association of Shareware Professionals (ASP)
--------------------------------------------------------------------------
Call GetMessagePos() in your WM_TIMER handler. It'll tell you where the mouse was when
the timer message was generated.
-- Kevin
Look up GetCursorPos in the help files.
Jez