Jump to content

Window class

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Liz (talk | contribs) at 21:48, 24 March 2025 (Removing PROD tag, this article was listed at VFD (which predates AFD) so is not eligible for PROD.). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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[1] and the X Window System.[2] The class defines the window procedure used tp process messages for all windows created with that class.[1]

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.

References

[edit]
  1. ^ a b Petzold, Charles (1989). Programming The OS/2 Presentation Manager. Microsoft Press. ISBN 1-55615-170-5.
  2. ^ Pavlidis, Theo. "WINDOW SYSTEMS". Wiley Encyclopedia of Electrical and Electronic Engineering (draft).
[edit]