Results 1 to 8 of 8

Thread: Please help

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Location
    Guayaquil, Guayas, Ecuador
    Posts
    87
    How can i know if a form is visible or invisible with api

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    461
    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

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Location
    Guayaquil, Guayas, Ecuador
    Posts
    87

    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

  4. #4
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    461
    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.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Location
    Guayaquil, Guayas, Ecuador
    Posts
    87

    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

  6. #6
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Try Iswindowvisible api
    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.

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Location
    Guayaquil, Guayas, Ecuador
    Posts
    87

    kedaman:

    kedaman:
    Thanks alot man
    that was just what i needed

  8. #8
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    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
  •  



Click Here to Expand Forum to Full Width