UmeshS Posted February 12, 2009 Share Posted February 12, 2009 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 Link to comment Share on other sites More sharing options...
Authenticity Posted February 12, 2009 Share Posted February 12, 2009 Dunno if this one works for Vista. Do Sleep(20) Until MouseGetCursor() <> 15 Link to comment Share on other sites More sharing options...
Manjish Posted February 12, 2009 Share Posted February 12, 2009 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 Link to comment Share on other sites More sharing options...
UmeshS Posted February 12, 2009 Author Share Posted February 12, 2009 Cool, thanks. It works. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now