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

Go to the source code of this file.

Macros

#define CTRL_TRACKBAR   ("trackbar")
 The class name of trackbar control. More...
 
#define TBLEN_TIP   31
 The maximum length of the trackbar tip string. More...
 
#define TBS_NOTIFY   0x0001L
 Causes the trackbar to notify the parent window with a notification message when the user clicks or doubleclicks the trackbar. More...
 
#define TBS_VERTICAL   0x0002L
 The trackbar control will be oriented vertically. More...
 
#define TBS_BORDER   0x0004L
 The trackbar control will have border. More...
 
#define TBS_TIP   0x0008L
 The trackbar control will display tip string above the control. More...
 
#define TBS_NOTICK   0x0010L
 The trackbar control will not display tick line beside the control. More...
 
#define TBM_SETRANGE   0xF090
 Sets the range of minimum and maximum logical positions for the slider in a trackbar. More...
 
#define TBM_GETMIN   0xF091
 Gets the minimum logical position for the slider. More...
 
#define TBM_SETPOS   0xF092
 Sets the current logical position of the slider. More...
 
#define TBM_GETPOS   0xF093
 Gets the current logical position of the slider. More...
 
#define TBM_SETLINESIZE   0xF094
 Sets the number of logical positions moved in response to keyboard input from the arrow keys. More...
 
#define TBM_GETLINESIZE   0xF095
 Gets the number of logical positions moved in response to keyboard input from the arrow keys. More...
 
#define TBM_SETPAGESIZE   0xF096
 Sets the number of logical positions moved in response to keyboard input from page keys.. More...
 
#define TBM_GETPAGESIZE   0xF097
 Gets the number of logical positions moved in response to keyboard input from page keys.. More...
 
#define TBM_SETTIP   0xF098
 Sets the start and end tip strings. More...
 
#define TBM_GETTIP   0xF09A
 Gets the start and end tip strings. More...
 
#define TBM_SETTICKFREQ   0xF09B
 Sets the interval frequency for tick marks in a trackbar. More...
 
#define TBM_GETTICKFREQ   0xF09C
 Gets the interval frequency for tick marks in a trackbar. More...
 
#define TBM_SETMIN   0xF09D
 Sets the minimum logical position for the slider in a trackbar. More...
 
#define TBM_SETMAX   0xF09E
 Sets the maximum logical position for the slider in a trackbar. More...
 
#define TBM_GETMAX   0xF09F
 Gets the maximum logical position for the slider in a trackbar. More...
 
#define TBN_REACHMIN   1
 Notifies that the slider has reached the minimum position. More...
 
#define TBN_REACHMAX   2
 Notifies that the slider has reached the maximum position. More...
 
#define TBN_CHANGE   3
 Notifies that the position of the slider has changed. More...
 
#define TBN_STARTDRAG   4
 Notifies that the user start to drag the slider. More...
 
#define TBN_STOPDRAG   5
 Notifies that the user stop to drag the slider. More...
 
#define LFRDR_TBS_PRESSED   0x0100L
 indicate left button down More...
 
#define LFRDR_TBS_HILITE   0x0200L
 indicate mouse is in region of thumb of trackbar 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 trackbar.h.