sastowe
13 years agoSuper Contributor
VB6 app gettin gthe state of the mouse pointer
My application under test is written in VB 6. Open! Woo hoo. I want to wait for a process to complete. There is no dlg for me to do a wait object on. When complete, there is no easily accessible visual indicator. I don't want to wait by delay since the amount of time the process takes is highly variable. The application under test does change the mouse pointer by"
Screen.MousePointer = vbHourglass
So I think to myself, well I can test the state of the Screen object's MousePointer property in a loop. But... how do I get to the "screen" object. The VB help says:
"The Screen object is the entire Windows desktop."
Would this be accessible through the Sys.Desktop object?
Screen.MousePointer = vbHourglass
So I think to myself, well I can test the state of the Screen object's MousePointer property in a loop. But... how do I get to the "screen" object. The VB help says:
"The Screen object is the entire Windows desktop."
Would this be accessible through the Sys.Desktop object?