Results 1 to 10 of 10

Thread: [RESOLVED] FindWindow wildcards?

Threaded View

  1. #1

    Thread Starter
    Lively Member SpagettiProg's Avatar
    Join Date
    Dec 2004
    Location
    Miami, Florida
    Posts
    82

    Resolved [RESOLVED] FindWindow wildcards?

    Let's say you wanted to get a handle to a window using findwindow and all you can use is the windows title.

    The classname will not work because their are windows with the same classname.

    Let's say the title of the window will always vary. Example....


    ExternalWindow Version 1
    ExternalWindow Version 2

    Is there a way to use findwindow with wildcards at the end.

    I tried......

    VB Code:
    1. Mainhwnd = FindWindow(vbNullString, "ExternalWindow Version")

    and it did not get a handle. It only gets a handle if I type in the full title name.

    Any help, tips, links would be great. Thanks again.
    Last edited by SpagettiProg; Jun 26th, 2006 at 11:33 AM.
    If you feel my post has helped, please rate it
    http://www.silentthread.com

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