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, ...

Get C++ Windows Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.