Jump to content
Sign in to follow this  
UmeshS

Howto: Detect "Busy" pointer?

Recommended Posts

UmeshS

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
Authenticity

Dunno if this one works for Vista.

Do

Sleep(20)

Until MouseGetCursor() <> 15

Share this post


Link to post
Share on other sites
Manjish

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.