Is there any API similar to FindWindow() but that searches the windows by partial title?
The reason is that I need to the handle to a window that has a fix part on the title but the other part changes constantly.
So for example the window title could be:
DataBase read: XYDB
or
DataBase read: WZDB
in the examples the fix part is “DataBase read:”
Code appreciated.
Thanks
An example using EnumWindows:
And then call it like this: