MiniGUI API Reference (MiniGUI-Threads)  v5.0.6
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

◆ SS_ALIGNMASK

#define SS_ALIGNMASK   0x000000F0L

The mask code of the static control.

Definition at line 187 of file static.h.

◆ SS_BITMAP

#define SS_BITMAP   0x00000009L

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

Definition at line 150 of file static.h.

◆ SS_BLACKFRAME

#define SS_BLACKFRAME   0x00000004L

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

Definition at line 120 of file static.h.

◆ SS_BLACKRECT

#define SS_BLACKRECT   0x00000001L

Specifies a rectangle filled with the black color.

Definition at line 102 of file static.h.

◆ SS_CENTER

#define SS_CENTER   0x00000020L

Displays the given text centered in the rectangle.

Definition at line 174 of file static.h.

◆ SS_CENTERIMAGE

#define SS_CENTERIMAGE   0x00000200L

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

Definition at line 203 of file static.h.

◆ SS_GRAYFRAME

#define SS_GRAYFRAME   0x00000005L

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

Definition at line 126 of file static.h.

◆ SS_GRAYRECT

#define SS_GRAYRECT   0x00000002L

Specifies a rectangle filled with the light gray color.

Definition at line 108 of file static.h.

◆ SS_GROUPBOX

#define SS_GROUPBOX   0x00000007L

Creates a rectangle in which other controls can be grouped.

Definition at line 138 of file static.h.

◆ SS_ICON

#define SS_ICON   0x00000008L

Designates an icon displayed in the static control.

Definition at line 144 of file static.h.

◆ SS_LEFT

#define SS_LEFT   0x00000010L

Displays the given text flush-left.

Definition at line 168 of file static.h.

◆ SS_LEFTNOWORDWRAP

#define SS_LEFTNOWORDWRAP   SS_NOWORDWRAP

Backward compatibility definition.

See also
SS_NOWORDWRAP

Definition at line 221 of file static.h.

◆ SS_NOPREFIX

#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 196 of file static.h.

◆ SS_NOTIFY

#define SS_NOTIFY   0x00001000L

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

Definition at line 234 of file static.h.

◆ SS_NOWORDWRAP

#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 213 of file static.h.

◆ SS_REALSIZEIMAGE

#define SS_REALSIZEIMAGE   0x00000800L

Does not scale the image.

Definition at line 227 of file static.h.

◆ SS_RIGHT

#define SS_RIGHT   0x00000030L

Displays the given text flush-right.

Definition at line 180 of file static.h.

◆ SS_SIMPLE

#define SS_SIMPLE   0x00000000L

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

Definition at line 96 of file static.h.

◆ SS_TYPEMASK

#define SS_TYPEMASK   0x0000000FL

The mask code of the static control.

Definition at line 162 of file static.h.

◆ SS_WHITEFRAME

#define SS_WHITEFRAME   0x00000006L

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

Definition at line 132 of file static.h.

◆ SS_WHITERECT

#define SS_WHITERECT   0x00000003L

Specifies a rectangle filled with the light white color.

Definition at line 114 of file static.h.