I have window Rules of Survival title: "Rules of Survival 1.120471.124472".
HWND window = FindWindow(NULL, "Rules of Survival 1.120471.124472");
how to find title name in rulesofsurvival.exe
pleas give me example
P.S. sorry for my bad English
I have window Rules of Survival title: "Rules of Survival 1.120471.124472".
HWND window = FindWindow(NULL, "Rules of Survival 1.120471.124472");
how to find title name in rulesofsurvival.exe
pleas give me example
P.S. sorry for my bad English
The easiest way would be to figure out what the window class of the target window is (using a tool like spy++) then use FindWindow/FindWindowEx with that class name.
Harder would be to enumerate all top level windows using GetDesktopWindow/GetWindow then use GetWindowThreadProcessId to get the thread and process ID that owns the window.