|
-
Apr 9th, 2000, 08:45 AM
#1
Thread Starter
Lively Member
How can i know if a form is visible or invisible with api
-
Apr 9th, 2000, 09:52 AM
#2
Hyperactive Member
Why would you bother with API to tell if your form is visible or not?
Why not just use :
Code:
If frmName.Visible Then
Perhaps if you actually "EXPLAINED" why you must specifically use API to tell this people would answer your question
-
Apr 9th, 2000, 12:51 PM
#3
Thread Starter
Lively Member
Gen-X:
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
-
Apr 9th, 2000, 12:57 PM
#4
Hyperactive Member
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.
-
Apr 9th, 2000, 01:24 PM
#5
Thread Starter
Lively Member
Gen-X:
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
-
Apr 9th, 2000, 03:24 PM
#6
transcendental analytic
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 9th, 2000, 03:44 PM
#7
Thread Starter
Lively Member
kedaman:
kedaman:
Thanks alot man
that was just what i needed
-
Apr 10th, 2000, 01:57 AM
#8
transcendental analytic
I like people telling me that!
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|