in reply to Re: Need to determine state of mousepointer
in thread Need to determine state of mousepointer
I suppose I should have pointed that out right away.
I am running the Win32:GUITest module against a series of Delphi 1 apps.
These apps have some textboxes that are wired to 'on exit' events.
If the textbox is blank when the cursor leaves it (via a hot key, tab, mouse click or whatever), the application (which is connected to a server via tcp/ip) asks a program on the server for a value to place in the field.
During the communication phase, the mouse pointer is set to busy.
My problem is that I need to suspend interaction with the application until the program receives the number and populates the field.
I believe the easiest way is to watch the state of the mouse pointer and only resume once it returns to normal.