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:
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.![]()





Reply With Quote