Reference articles on history, science, culture and more
Encyclopedia

Window class

In computer programming, a window class is a fundamental in many windowing systems, including the Microsoft Windows (Win16, Win32, and Win64) operating systems, IBM OS/2 and the X Window System. The class defines the window procedure used to process messages for all windows created with that class.

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 and each window created from it.

Watch videos about Window classExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Window class, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.