C4 Engine
C4 Engine API Documentation

Window::GetWindowFlags

Defined in:  C4Widgets.h
Returns the window flags.
Prototype

uint32 GetWindowFlags(voidconst;

Description
The GetWindowFlags function returns the window flags. This can be a combination (through logical OR) of the following constants.
kWindowPlain The window is rendered plain with no frame.
kWindowCloseBox The window has a close button. (Ignored if kWindowPlain is set.)
kWindowResizable The window has a resize handle. (Ignored if kWindowPlain is set.)
kWindowBackground The window has a filled background.
kWindowCenter The window is initially centered on the screen. (Ignored if either kWindowFullHorizontal or kWindowFullVertical is set.)
kWindowMaximize The window is initially as large as possible. (The specified size is ignored.)
kWindowEvenSize The window must have even width and height. (Only used if kWindowResizable is set.)
kWindowStrip The window appears in the strip.
kWindowPassive The window does not need to receive keyboard input.
kWindowModal The window is modal. (Automatically set by the Window::AddSubwindow function.)
kWindowFullHorizontal The window is scaled so that it fills the display horizontally, and it is centered vertically.
kWindowFullVertical The window is scaled so that it fills the display vertically, and it is centered horizontally. (Ignored if kWindowFullHorizontal is set.)
The window flags can be specified only when the window is first created.
See Also

Window::GetWindowTitle