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

Macros

#define SS_SIMPLE   0x00000000L
 Designates a simple rectangle and displays a single line of text flush-left in the rectangle. More...
 
#define SS_BLACKRECT   0x00000001L
 Specifies a rectangle filled with the black color. More...
 
#define SS_GRAYRECT   0x00000002L
 Specifies a rectangle filled with the light gray color. More...
 
#define SS_WHITERECT   0x00000003L
 Specifies a rectangle filled with the light white color. More...
 
#define SS_BLACKFRAME   0x00000004L
 Specifies a box with a frame drawn with the black color. More...
 
#define SS_GRAYFRAME   0x00000005L
 Specifies a box with a frame drawn with the light gray color. More...
 
#define SS_WHITEFRAME   0x00000006L
 Specifies a box with a frame drawn with the light white color. More...
 
#define SS_GROUPBOX   0x00000007L
 Creates a rectangle in which other controls can be grouped. More...
 
#define SS_ICON   0x00000008L
 Designates an icon displayed in the static control. More...
 
#define SS_BITMAP   0x00000009L
 Specifies that a bitmap will be displayed in the static control. More...
 
#define SS_TYPEMASK   0x0000000FL
 The mask code of the static control. More...
 
#define SS_LEFT   0x00000010L
 Displays the given text flush-left. More...
 
#define SS_CENTER   0x00000020L
 Displays the given text centered in the rectangle. More...
 
#define SS_RIGHT   0x00000030L
 Displays the given text flush-right. More...
 
#define SS_ALIGNMASK   0x000000F0L
 The mask code of the static control. More...
 
#define SS_NOPREFIX   0x00000100L
 Prevents interpretation of any ampersand (&) characters in the control's text as accelerator prefix characters. More...
 
#define SS_CENTERIMAGE   0x00000200L
 Puts the image in the center of the static control. Default is top-left aligned. More...
 
#define SS_NOWORDWRAP   0x00000400L
 Designates a simple rectangle and displays the given text in single line in the rectangle. More...
 
#define SS_LEFTNOWORDWRAP   SS_NOWORDWRAP
 Backward compatibility definition. More...
 
#define SS_REALSIZEIMAGE   0x00000800L
 Does not scale the image. More...
 
#define SS_NOTIFY   0x00001000L
 Sends the parent window notification messages when the user clicks or double-clicks the control. More...
 

Detailed Description

Macro Definition Documentation

#define SS_ALIGNMASK   0x000000F0L

The mask code of the static control.

Definition at line 175 of file static.h.

#define SS_BITMAP   0x00000009L

Specifies that a bitmap will be displayed in the static control.

Definition at line 138 of file static.h.

#define SS_BLACKFRAME   0x00000004L

Specifies a box with a frame drawn with the black color.

Definition at line 108 of file static.h.

#define SS_BLACKRECT   0x00000001L

Specifies a rectangle filled with the black color.

Definition at line 90 of file static.h.

#define SS_CENTER   0x00000020L

Displays the given text centered in the rectangle.

Definition at line 162 of file static.h.

#define SS_CENTERIMAGE   0x00000200L

Puts the image in the center of the static control. Default is top-left aligned.

Definition at line 191 of file static.h.

#define SS_GRAYFRAME   0x00000005L

Specifies a box with a frame drawn with the light gray color.

Definition at line 114 of file static.h.

#define SS_GRAYRECT   0x00000002L

Specifies a rectangle filled with the light gray color.

Definition at line 96 of file static.h.

#define SS_GROUPBOX   0x00000007L

Creates a rectangle in which other controls can be grouped.

Definition at line 126 of file static.h.

#define SS_ICON   0x00000008L

Designates an icon displayed in the static control.

Definition at line 132 of file static.h.

#define SS_LEFT   0x00000010L

Displays the given text flush-left.

Definition at line 156 of file static.h.

#define SS_LEFTNOWORDWRAP   SS_NOWORDWRAP

Backward compatibility definition.

See also
SS_NOWORDWRAP

Definition at line 209 of file static.h.

#define SS_NOPREFIX   0x00000100L

Prevents interpretation of any ampersand (&) characters in the control's text as accelerator prefix characters.

Note
Not implemented so far.

Definition at line 184 of file static.h.

#define SS_NOTIFY   0x00001000L

Sends the parent window notification messages when the user clicks or double-clicks the control.

Definition at line 222 of file static.h.

#define SS_NOWORDWRAP   0x00000400L

Designates a simple rectangle and displays the given text in single line in the rectangle.

Tabs are expanded, but words are not wrapped. Text that extends past the rectagnel is clipped.

Definition at line 201 of file static.h.

#define SS_REALSIZEIMAGE   0x00000800L

Does not scale the image.

Definition at line 215 of file static.h.

#define SS_RIGHT   0x00000030L

Displays the given text flush-right.

Definition at line 168 of file static.h.

#define SS_SIMPLE   0x00000000L

Designates a simple rectangle and displays a single line of text flush-left in the rectangle.

Definition at line 84 of file static.h.

#define SS_TYPEMASK   0x0000000FL

The mask code of the static control.

Definition at line 150 of file static.h.

#define SS_WHITEFRAME   0x00000006L

Specifies a box with a frame drawn with the light white color.

Definition at line 120 of file static.h.

#define SS_WHITERECT   0x00000003L

Specifies a rectangle filled with the light white color.

Definition at line 102 of file static.h.