How can i know if a form is visible or invisible with api
Printable View
How can i know if a form is visible or invisible with api
Why would you bother with API to tell if your form is visible or not?
Why not just use :
Perhaps if you actually "EXPLAINED" why you must specifically use API to tell this people would answer your question ;)Code:If frmName.Visible Then
Gen-X:
I need to use api because i want to know if a form is visible from another application so i can't use if form.visible then
Now why didn't you say that in the first place? ;)
Knowing that the form is in a different application changed the whole scope of the question you have asked.
What you are doing now is simply trying to find what "Windows" your operating system currently has open. A form in another application would be listed in exactly the same way as Microsoft Word or any other application you are running.
There are examples on here regarding this.
Do a search for "FindWindow" and it should lead you towards what you are needing.
Gen-X:
but with FindWindow i only know if the form is opened but i want to know when it is visible
because it could be loaded but not visible
Try Iswindowvisible api
kedaman:
Thanks alot man
that was just what i needed
:) I like people telling me that!