wxWidgets: Window Styles

| Version: 3.2.7

Window Styles

Window styles are used to specify alternative behaviour and appearances for windows, when they are created.

The symbols are defined in such a way that they can be combined in a 'bit-list' using the C++ bitwise-or operator.

For example:

wxCAPTION | wxMINIMIZE_BOX | wxMAXIMIZE_BOX | wxRESIZE_BORDER
wxMINIMIZE_BOX
#define wxMINIMIZE_BOX
Definition: defs.h:1346
wxMAXIMIZE_BOX
#define wxMAXIMIZE_BOX
Definition: defs.h:1347
wxRESIZE_BORDER
#define wxRESIZE_BORDER
Definition: defs.h:1350
wxCAPTION
#define wxCAPTION
Definition: defs.h:218

For the window styles specific to each window class, please see the documentation for the window.

Most windows can use the generic styles listed for wxWindow in addition to their own styles.