Run Spy ++ to find out the correct class names and the window handles you need. You must install it provided that you have Visual Studio installed.
With it, you can specify in a window, see the hierarchy of window descriptors and the exact class name that you should use with the API calls FindWindow() / GetWindow() .
source share