When a window is created, an application defines a window class, which is registered with the system. This class defines various properties of the window like the window title, background color, cursor and the window class name itself.
But how to get a Windows control class name?
Class names of Windows controls can be looked up with tools like Spy++ or AU3_Spy.
When using AU3_Spy, which can be downloaded here, the class name is displayed under the section “Now Under Mouse Cursor” while the mouse is hovering over the respective control or area.
Note: Most class names have number postfixes which must be removed. Keep in mind that numbers can be part of the class names as well, for example SysTreeView32.