Hi,

I need to locate a sub-window, move the mouse onto it then perform a single
left click.  I have the following code:

Dim cCursor, hWnd

' Save the current active cursor
cCursor = ActiveCursorType 
ActiveCursorType = ctMousePointer
Find( hWnd) 
Mouse.Click(  mbLeft, 1)
' Go back to the cursor the user was using
ActiveCursorType = cCursor

I realise that the Find method isn't going to do what I want, i.e. position
the active cursor (the mouse in this case) on the window, if found, but I
can't see a way of achieving this result.

Best wishes.

Tim Burgess
Raised Bar Ltd
PO Box 4442
Atherstone
Warwickshire
CV9 9AT

Phone:  +44 (0)1827 719822
Email:  [EMAIL PROTECTED]
Web:  http://www.raisedbar.net

Don't forget to vote for improved access to music and music technology at

http://www.raisedbar.net/petition.htm
 

Reply via email to