In computer programming a window class is a structure fundamental to the Microsoft Windows (Win16, Win32, and Win64) operating systems and its Application Programming Interface (API).
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.
Famous quotes containing the words window and/or class:
“If a man was tossed out of a window when an infant, and so made a cripple for life, or scared out of his wits by the Indians, it is regretted chiefly because he was thus incapacitated forbusiness! I think that there is nothing, not even crime, more opposed to poetry, to philosophy, ay, to life itself, than this incessant business.”
—Henry David Thoreau (18171862)
“Where justice is denied, where poverty is enforced, where ignorance prevails, and where any one class is made to feel that society is in an organized conspiracy to oppress, rob, and degrade them, neither persons nor property will be safe.”
—Frederick Douglass (c.18171895)