The Window class
The Window
class is the root class of the document classes; it handles basic window functionality such as the timer, input focus, coordinate transformation, window size and position, text metrics, and the message box as well as mouse, keyboard, and touch screen input. Moreover, Window
defines enumerations for window styles and appearances, buttons, icons, and coordinate systems.
Window.h
namespace SmallWindows { extern map<HWND,Window*> WindowMap;
There is large set of window styles. The window may be equipped with a border, a thick frame, scroll bars, or minimize and maximize boxes:
enum WindowStyle {NoStyle = 0, Border = WS_BORDER, ThickFrame = WS_THICKFRAME, Caption = WS_CAPTION, Child = WS_CHILD, ClipChildren = WS_CLIPCHILDREN, ClipSibling = WS_CLIPSIBLINGS, Disabled = WS_DISABLED, DialogFrame = WS_DLGFRAME, Group = WS_GROUP, ...