VBA Code: Detect Cursor State
Posted on 2009-05-21
VBA: Detect Cursor Icon
I am trying to detect if the cursor is displaying busy/hourglass from VBA (6.5). The project automates Internet Explorer from Excel and sometimes the website will be busy, but Excel and Internet Explorer will not be. Does anyone know of an API to detect if the mouse is busy?
I keep trying: Declare Function GetCursor Lib "user32.dll" () As Long
It comes with 65541 no matter what cursor is displayed. Im running Vista, Office 07, & IE8&