MiniGUI API Reference (MiniGUI-Threads)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Structures | Macros | Typedefs | Functions
spinbox.h File Reference

Go to the source code of this file.

Data Structures

struct  _SPININFO
 

Macros

#define CTRL_SPINBOX   ("SpinBox")
 The class name of spinbox control. More...
 
#define SPS_AUTOSCROLL   0x00000001L
 The spinbox control can automatically scroll, and disable itself when reach maximal or minimal value. More...
 
#define SPS_HORIZONTAL   0x00000010L
 The spinbox control is horizontal. The default is vertical. More...
 
#define SPS_TYPE_NORMAL   0x00000000L
 The spinbox control contains the up and left arrows. More...
 
#define SPS_TYPE_UPARROW   0x00000100L
 The spinbox control contains only the up/left arrow. More...
 
#define SPS_TYPE_DOWNARROW   0x00000200L
 The spinbox control contains only the down/right arrow. More...
 
#define SPS_TYPE_MASK   0x00000F00L
 The mask code of spinbox control. More...
 
#define KS_SPINPOST   0x00010000
 The flag of the spinbox control message. More...
 
#define SPM_SETTARGET   0xF300
 Sets the target window of the spinbox. More...
 
#define SPM_GETTARGET   0xF301
 Gets the target window of the spinbox. More...
 
#define SPM_SETINFO   0xF302
 Sets the parameter information of the spinbox. More...
 
#define SPM_GETINFO   0xF303
 Gets the parameter infos of the spinbox. More...
 
#define SPM_DISABLEUP   0xF304
 Disable the ability to scroll up. More...
 
#define SPM_DISABLEDOWN   0xF305
 Disable the ability to scroll down. More...
 
#define SPM_ENABLEUP   0xF306
 Enable the ability to scroll up. More...
 
#define SPM_ENABLEDOWN   0xF307
 Enable the ability to scroll down. More...
 
#define SPM_SETCUR   0xF308
 Sets the current position in the range of the spinbox. More...
 
#define SPM_GETCUR   0xF309
 Gets the current position in the range of the spinbox. More...
 
#define SPN_REACHMIN   1
 Notifies that the spin box has reached the minimum limit. More...
 
#define SPN_REACHMAX   2
 Notifies that the spin box has reached the maximum limit. More...
 

Typedefs

typedef struct _SPININFO SPININFO
 
typedef SPININFOPSPININFO
 Data type of the pointer to a SPININFO. More...
 

Functions

void GetSpinBoxSize (DWORD dwStyle, int *w, int *h)
 Gets size of a vertical spin box control. More...
 

Detailed Description

Author
Wei Yongming vince.nosp@m.nt@m.nosp@m.inigu.nosp@m.i.or.nosp@m.g
Date
2002/01/06
   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 spinbox.h.