Win32\'s FindWindow() can find a window having the title of \"Untitled - Notepad\", but what if I just want to find a Notepad window but don\'t know whether it
The 1st argument of FindWindow searches by class name, if you use "Notepad" (Notepad's main window class name) for this and a null title you would get the 1st matching handle irrespective of its caption.