A more efficient tool than spy++. Move your mouse to see the window information of the cursor on.