Sign in to follow this  
Followers 0
UmeshS

Howto: Detect "Busy" pointer?

4 posts in this topic

Hi,

I need to detect "busy" pointer (on Vista pointer changes to animated circle) and WaitUntil mouse pointer changes the state back and forth.

Please help... how do I do this?

Thanks.

Umesh

Share this post


Link to post
Share on other sites



Dunno if this one works for Vista.

Do

Sleep(20)

Until MouseGetCursor() <> 15

Share this post


Link to post
Share on other sites

Returns the cursor ID Number for the current Mouse Cursor.

MouseGetCursor ( )

Parameters

None.

Return Value

Returns a cursor ID Number:

0 = UNKNOWN (this includes pointing and grabbing hand icons)

1 = APPSTARTING

2 = ARROW

3 = CROSS

4 = HELP

5 = IBEAM

6 = ICON

7 = NO

8 = SIZE

9 = SIZEALL

10 = SIZENESW

11 = SIZENS

12 = SIZENWSE

13 = SIZEWE

14 = UPARROW

15 = WAIT


[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com

Share this post


Link to post
Share on other sites

Cool, thanks. It works.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0