Jump to content
Sign in to follow this  
AutoitMike

Blank windows

Recommended Posts

AutoitMike

I am have difficulty interacting with windows that my app opens up blank. Many times the window appears with the title in the title bar but the window is blank for several seconds.

This causes a problem when the mouse moves to a spot and clicks nothing.

There is no "Visible text" on this window.

How can I detect that the window is not yet "Painted, filled in, finished" ?

Thanks

Share this post


Link to post
Share on other sites
LurchMan

Do the colors on the window change after it loads completely or do the buttons just appear?


Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end.

Share this post


Link to post
Share on other sites
mikell

There is no "Visible text" on this window.

So why not
Do
Sleep(10)
Until WinGetText("test") <> ""
Edited by mikell

Share this post


Link to post
Share on other sites
jdelaney

Look into WinGetState, and wait for IsEnabled...It is probably still loading.


IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

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  

×