
Tricky "FindWindow" question
Get the class name of the app window and specify that in your search. Spy++
can find this for you if you have it on your system, or you can find by
closing the folder window and finding the app window using the FindWindow
API. When you have found the app,
call the GetClassName API to get the class
and use the returned value in your code.
--
Hope this helps,
Jason Bouzane
Quote:
> I know how to use the FindWindow API to find a window, but
> how can I tell the difference between an open folder that
> has the same window title as an open app? I need my app
> to reference the app rather than the folder, but this is
> hard if they both have the same name. Using VB5 Pro.