Jump to content

Window class

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Elizardeth12 (talk | contribs) at 16:20, 11 November 2022. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer programming, a window class is 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 and 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.

References