MiniGUI API Reference (MiniGUI-Processes)
v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
include
ctrl
spinbox.h
Go to the documentation of this file.
1
//
3
// IMPORTANT NOTICE
4
//
5
// The following open source license statement does not apply to any
6
// entity in the Exception List published by FMSoft.
7
//
8
// For more information, please visit:
9
//
10
// https://www.fmsoft.cn/exception-list
11
//
13
55
/*
56
* $Id: spinbox.h 10690 2008-08-18 09:32:47Z weiym $
57
*
58
* MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
59
* pSOS, ThreadX, NuCleus, OSE, and Win32.
60
*/
61
62
#ifndef EXT_SPINBOX_H
63
#define EXT_SPINBOX_H
64
65
#ifdef __cplusplus
66
extern
"C"
{
67
#endif
68
83
#define CTRL_SPINBOX ("SpinBox")
84
86
typedef
struct
_SPININFO
87
{
89
int
max
;
91
int
min
;
93
int
cur
;
94
}
SPININFO
;
99
typedef
SPININFO
*
PSPININFO
;
100
112
void
GetSpinBoxSize
(
DWORD
dwStyle,
int
* w,
int
* h);
113
124
#define SPS_AUTOSCROLL 0x00000001L
125
130
#define SPS_HORIZONTAL 0x00000010L
131
136
#define SPS_TYPE_NORMAL 0x00000000L
137
142
#define SPS_TYPE_UPARROW 0x00000100L
143
148
#define SPS_TYPE_DOWNARROW 0x00000200L
149
154
#define SPS_TYPE_MASK 0x00000F00L
155
166
#define KS_SPINPOST 0x00010000
167
189
#define SPM_SETTARGET 0xF300
190
204
#define SPM_GETTARGET 0xF301
205
224
#define SPM_SETINFO 0xF302
225
244
#define SPM_GETINFO 0xF303
245
259
#define SPM_DISABLEUP 0xF304
260
274
#define SPM_DISABLEDOWN 0xF305
275
289
#define SPM_ENABLEUP 0xF306
290
304
#define SPM_ENABLEDOWN 0xF307
305
322
#define SPM_SETCUR 0xF308
323
337
#define SPM_GETCUR 0xF309
338
350
#define SPN_REACHMIN 1
351
356
#define SPN_REACHMAX 2
357
364
#ifdef __cplusplus
365
}
366
#endif
367
368
#endif
/* EXT_SPINBOX_H */
369
DWORD
DWORD_PTR DWORD
A unsigned long type definition for pointer precision.
Definition:
common.h:604
SPININFO
struct _SPININFO SPININFO
_SPININFO::min
int min
Definition:
spinbox.h:91
_SPININFO::cur
int cur
Definition:
spinbox.h:93
_SPININFO
Definition:
spinbox.h:86
PSPININFO
SPININFO * PSPININFO
Data type of the pointer to a SPININFO.
Definition:
spinbox.h:99
_SPININFO::max
int max
Definition:
spinbox.h:89
GetSpinBoxSize
void GetSpinBoxSize(DWORD dwStyle, int *w, int *h)
Get size of a vertical spin box control.
Generated by
1.8.17