MiniGUI API Reference (MiniGUI-Standalone)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros
static.h File Reference

Go to the source code of this file.

Macros

#define CTRL_STATIC   ("static")
 The class name of static control. More...
 
#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...
 
#define STM_SETIMAGE   0xF172
 Associates a new image (icon or bitmap) with a static control. More...
 
#define STM_GETIMAGE   0xF173
 Retrieves a handle to the image. More...
 
#define STN_DBLCLK   1
 Notifies a double-click. More...
 
#define STN_CLICKED   4
 Notifies that a static control is clicked. More...
 

Detailed Description

Author
Wei Yongming vince.nosp@m.nt@m.nosp@m.inigu.nosp@m.i.or.nosp@m.g
Date
2001/12/29
   This file is part of MiniGUI, a mature cross-platform windowing 
   and Graphics User Interface (GUI) support system for embedded systems
   and smart IoT devices.

   Copyright (C) 2002~2018, Beijing FMSoft Technologies Co., Ltd.
   Copyright (C) 1998~2002, WEI Yongming

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.

   Or,

   As this program is a library, any link to this program must follow
   GNU General Public License version 3 (GPLv3). If you cannot accept
   GPLv3, you need to be licensed from FMSoft.

   If you have got a commercial license of this program, please use it
   under the terms and conditions of the commercial license.

   For more information about the commercial license, please refer to
   <http://www.minigui.com/en/about/licensing-policy/>.

Definition in file static.h.