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

Go to the source code of this file.

Data Structures

struct  _NTBINFO
 
struct  _NTBITEMINFO
 

Macros

#define CTRL_NEWTOOLBAR   ("newtoolbar")
 The class name of newtoolbar control. More...
 
#define NTBIF_DISABLED   0x0010
 The item is disabled. More...
 
#define NTBIF_CHECKED   0x0020
 The item is checked. More...
 
#define NTBS_WITHTEXT   0x000000001L
 Displays text with the item bitmap. More...
 
#define NTBS_TEXTRIGHT   0x000000002L
 Displays text at the right side of the item bitmap. More...
 
#define NTBS_DRAWSTATES   0x000000004L
 Draws the button states with 3D frame, and does not use the highlight, pushed and disabled bitmap cell. More...
 
#define NTBS_DRAWSEPARATOR   0x000000008L
 Draws the separator bar. More...
 
#define NTBS_HORIZONTAL   0x00000000L
 The NewToolbar will be displayed horizontally. More...
 
#define NTBS_VERTICAL   0x00000010L
 The NewToolbar will be displayed vertically. More...
 
#define NTBS_MULTLINE   0x00000020L
 The Newtoolbar item will be displayed in several lines. In this style , your should define the toolbar RECT in CreateWindwEx. More...
 
#define NTB_OKAY   0
 
#define NTB_ERR   (-1)
 
#define NTB_ERR_SPACE   (-2)
 
#define NTB_ERR_DUPID   (-3)
 
#define NTBM_ADDITEM   0xFE00
 Adds an item to a newtoolbar. More...
 
#define NTBM_GETITEM   0xFE01
 Retrives the information of an item in a newtoolbar control. More...
 
#define NTBM_SETITEM   0xFE02
 Sets the information of an item in a newtoolbar control. More...
 
#define NTBM_ENABLEITEM   0xFE03
 Enables/Disables an item in a newtoolbar control. More...
 
#define NTBM_SETBITMAP   0xFE04
 Sets the bitmap of a newtoolbar control. More...
 

Typedefs

typedef struct _NTBINFO NTBINFO
 
typedef void(* HOTSPOTPROC) (HWND hwnd, int id, const RECT *cell, int x, int y)
 Type of the hotspot-clicked callback procedure. More...
 
typedef struct _NTBITEMINFO NTBITEMINFO
 
typedef NTBITEMINFOPNTBITEMINFO
 Data type of pointer to a NTBITEMINFO;. 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 newtoolbar.h.