Window class


In computer programming a window class is a structure fundamental to the Microsoft Windows operating systems and its Application Programming Interface.
The structure provides a template, from which windows may be created, by specifying a window's icons, menu, background color and a few other features. It also holds a pointer to a procedure that controls how the window behaves in response to user interaction. It finally tells the operating system how much additional storage space is needed for the class itself and for each window created from it.
There have been two versions of window classes; the only non-technical addition brought by the second one is that of a small additional icon for the window. The first version was present in the Windows 3.x series; the second version appeared in Windows 95 and Windows NT 3.1.