FindWindow - Finding a name that is 'partial' to the window name C++
Posted on 2009-05-10
I am trying to find a process name that may have a different version number, for example:
HANDLE test = FindWindow(TEXT("Test Window"), NULL);
Will find a window that is called "Test Window"... However, what if there is a number that changes once and awhile, for example:
"Find Window v1.2"
"Find Window v1.3"
"Find Window Beta"
What I'd want is it to return TRUE for all these of these. Basicly like if a partial name is found it should return TRUE, otherwise false.
Anyone got any suggestions?