MiniGUI API Reference (MiniGUI-Threads)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros
Window styles

Macros

#define WS_NONE   0x00000000L
 None style. More...
 
#define WS_CHILD   0x40000000L
 Indicates the window is a child. More...
 
#define WS_CAPTION   0x20000000L
 Creates a main window with caption. More...
 
#define WS_SYSMENU   0x10000000L
 Creates a main window with system menu. More...
 
#define WS_VISIBLE   0x08000000L
 Creates a window initially visible. More...
 
#define WS_DISABLED   0x04000000L
 Creates a window initially disabled. More...
 
#define WS_DLGFRAME   0x00800000L
 The window has a fixed frame, i.e. user can not drag the border of the window. More...
 
#define WS_BORDER   0x00400000L
 Creates a window with border. More...
 
#define WS_THICKFRAME   0x00200000L
 Creates a window with thick frame. More...
 
#define WS_THINFRAME   0x00100000L
 Creates a window with thin frame. More...
 
#define WS_VSCROLL   0x00080000L
 Creates a window with vertical scroll bar. More...
 
#define WS_HSCROLL   0x00040000L
 Creates a window with horizontal scroll bar. More...
 
#define WS_GROUP   0x00020000L
 Indicates the control is the leader of a group. More...
 
#define WS_TABSTOP   0x00010000L
 Indicates the user can set the input focus to the control by using Tab key. More...
 
#define WS_EX_CONTROL_MASK   0x0000000FL
 The extended style mask for control usage. More...
 
#define WS_EX_INTERNAL_MASK   0xF0000000L
 The extended style mask for internal usage. More...
 
#define WS_EX_NONE   0x00000000L
 No any extended window style. More...
 
#define WS_EX_TROUNDCNS   0x00000010L
 The window have round corners in top. More...
 
#define WS_EX_BROUNDCNS   0x00000020L
 The window have round corners at bottom. More...
 
#define WS_EX_USEPRIVATECDC   0x00000040L
 The window has its own private client device context. More...
 
#define WS_EX_NOTDRAGGABLE   0x00000080L
 A style controlling whether a main window can be dragged by using mouse. More...
 
#define WS_EX_USEPARENTFONT   0x00000100L
 The window uses the font of its parent as the default font. More...
 
#define WS_EX_USEPARENTCURSOR   0x00000200L
 The window uses the cursor of its parent as the default cursor. More...
 
#define WS_EX_USEPARENTRDR   0x00000400L
 The window use the same window renderer as parent. More...
 
#define WS_EX_NOPARENTNOTIFY   0x00000800L
 The window will not send any notification to the parent. More...
 
#define WS_EX_AUTOSECONDARYDC   0x00001000L
 The window creates its own secondary device context automatically. More...
 
#define WS_EX_TRANSPARENT   0x00002000L
 The window is transparent. More...
 
#define WS_EX_TOPMOST   0x00004000L
 The main window is a topmost (always on top) window. More...
 
#define WS_EX_TOOLWINDOW   0x00008000L
 The main window is a tool window, which can not gain the input focus. More...
 
#define WS_EX_LEFTSCROLLBAR   0x00040000L
 The horizontal scroll bar of the window is located at left. More...
 
#define WS_EX_RIGHTSCROLLBAR   0x00000000L
 The horizontal scroll bar of the window is located at right (default). More...
 
#define WS_EX_DLGHIDE   0x00100000L
 The dialog won't show immediately after it is created. More...
 
#define WS_EX_NOCLOSEBOX   0x00400000L
 The main window has no closing box on its caption. More...
 
#define WS_EX_CLIPCHILDREN   0x00800000L
 When paint the window, the children areas will be clipped. More...
 
#define WS_EX_LFRDR_MASK   0x0F000000L
 The style mask for LF renderer internal usage. More...
 
#define WS_EX_LFRDR_CUSTOM1   0x01000000L
 The user-defined extended style. It's often used to process user-defined hotspot area. More...
 
#define WS_EX_LFRDR_CUSTOM2   0x02000000L
 The user-defined extended style. More...
 
#define WS_EX_LFRDR_CUSTOM3   0x04000000L
 The user-defined extended style. More...
 
#define WS_EX_LFRDR_CUSTOM4   0x08000000L
 The user-defined extended style. More...
 

Detailed Description

Macro Definition Documentation

#define WS_BORDER   0x00400000L

Creates a window with border.

Definition at line 3108 of file window.h.

#define WS_CAPTION   0x20000000L

Creates a main window with caption.

Definition at line 3073 of file window.h.

#define WS_CHILD   0x40000000L

Indicates the window is a child.

Definition at line 3067 of file window.h.

#define WS_DISABLED   0x04000000L

Creates a window initially disabled.

Definition at line 3091 of file window.h.

#define WS_DLGFRAME   0x00800000L

The window has a fixed frame, i.e. user can not drag the border of the window.

Definition at line 3102 of file window.h.

#define WS_EX_AUTOSECONDARYDC   0x00001000L

The window creates its own secondary device context automatically.

See also
CreateSecondaryDC

Definition at line 3248 of file window.h.

#define WS_EX_BROUNDCNS   0x00000020L

The window have round corners at bottom.

Definition at line 3199 of file window.h.

#define WS_EX_CLIPCHILDREN   0x00800000L

When paint the window, the children areas will be clipped.

Definition at line 3303 of file window.h.

#define WS_EX_CONTROL_MASK   0x0000000FL

The extended style mask for control usage.

Definition at line 3175 of file window.h.

#define WS_EX_DLGHIDE   0x00100000L

The dialog won't show immediately after it is created.

Definition at line 3291 of file window.h.

#define WS_EX_INTERNAL_MASK   0xF0000000L

The extended style mask for internal usage.

Definition at line 3181 of file window.h.

#define WS_EX_LEFTSCROLLBAR   0x00040000L

The horizontal scroll bar of the window is located at left.

Definition at line 3279 of file window.h.

#define WS_EX_LFRDR_CUSTOM1   0x01000000L

The user-defined extended style. It's often used to process user-defined hotspot area.

Definition at line 3316 of file window.h.

#define WS_EX_LFRDR_CUSTOM2   0x02000000L

The user-defined extended style.

See also
WS_EX_LFRDR_CUSTOM1

Definition at line 3324 of file window.h.

#define WS_EX_LFRDR_CUSTOM3   0x04000000L

The user-defined extended style.

See also
WS_EX_LFRDR_CUSTOM1

Definition at line 3332 of file window.h.

#define WS_EX_LFRDR_CUSTOM4   0x08000000L

The user-defined extended style.

See also
WS_EX_LFRDR_CUSTOM1

Definition at line 3340 of file window.h.

#define WS_EX_LFRDR_MASK   0x0F000000L

The style mask for LF renderer internal usage.

Definition at line 3309 of file window.h.

#define WS_EX_NOCLOSEBOX   0x00400000L

The main window has no closing box on its caption.

Definition at line 3297 of file window.h.

#define WS_EX_NONE   0x00000000L

No any extended window style.

Definition at line 3187 of file window.h.

#define WS_EX_NOPARENTNOTIFY   0x00000800L

The window will not send any notification to the parent.

See also
NotifyParentEx

Definition at line 3240 of file window.h.

#define WS_EX_NOTDRAGGABLE   0x00000080L

A style controlling whether a main window can be dragged by using mouse.

Definition at line 3213 of file window.h.

#define WS_EX_RIGHTSCROLLBAR   0x00000000L

The horizontal scroll bar of the window is located at right (default).

Definition at line 3285 of file window.h.

#define WS_EX_TOOLWINDOW   0x00008000L

The main window is a tool window, which can not gain the input focus.

Definition at line 3267 of file window.h.

#define WS_EX_TOPMOST   0x00004000L

The main window is a topmost (always on top) window.

Definition at line 3261 of file window.h.

#define WS_EX_TRANSPARENT   0x00002000L

The window is transparent.

Note
This style is only implemented for controls.

Definition at line 3255 of file window.h.

#define WS_EX_TROUNDCNS   0x00000010L

The window have round corners in top.

Definition at line 3193 of file window.h.

#define WS_EX_USEPARENTCURSOR   0x00000200L

The window uses the cursor of its parent as the default cursor.

Definition at line 3226 of file window.h.

#define WS_EX_USEPARENTFONT   0x00000100L

The window uses the font of its parent as the default font.

Definition at line 3220 of file window.h.

#define WS_EX_USEPARENTRDR   0x00000400L

The window use the same window renderer as parent.

Definition at line 3232 of file window.h.

#define WS_EX_USEPRIVATECDC   0x00000040L

The window has its own private client device context.

See also
CreatePrivateClientDC

Definition at line 3207 of file window.h.

#define WS_GROUP   0x00020000L

Indicates the control is the leader of a group.

Note
This style is valid only for controls.

Definition at line 3139 of file window.h.

#define WS_HSCROLL   0x00040000L

Creates a window with horizontal scroll bar.

Definition at line 3132 of file window.h.

#define WS_NONE   0x00000000L

None style.

Definition at line 3061 of file window.h.

#define WS_SYSMENU   0x10000000L

Creates a main window with system menu.

Definition at line 3079 of file window.h.

#define WS_TABSTOP   0x00010000L

Indicates the user can set the input focus to the control by using Tab key.

Note
This style is valid only for controls.

Definition at line 3147 of file window.h.

#define WS_THICKFRAME   0x00200000L

Creates a window with thick frame.

Definition at line 3114 of file window.h.

#define WS_THINFRAME   0x00100000L

Creates a window with thin frame.

Definition at line 3120 of file window.h.

#define WS_VISIBLE   0x08000000L

Creates a window initially visible.

Definition at line 3085 of file window.h.

#define WS_VSCROLL   0x00080000L

Creates a window with vertical scroll bar.

Definition at line 3126 of file window.h.