Results 1 to 5 of 5

Thread: How to detect if window is open ?[resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959

    How to detect if window is open ?[resolved]

    Well i know how to detect if an app is running by using its caption,

    put this in a timer etc,

    VB Code:
    1. Dim WinWnd As Long
    2.  WinWnd = FindWindow(vbNullString, "app caption")

    but take the same app that has two different windows but both have the same caption, well you can identify sections(windows ?) within these windows by their handles.

    So how would i code this to detect if a window is open by deteceting a certain part within this window by it handle...lol
    Last edited by Jmacp; Mar 11th, 2004 at 04:23 PM.

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