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

Modules

 Styles of menubutton control
 
 Messages of menubutton control
 
 Notification codes of menubutton control
 

Data Structures

struct  _MENUBUTTONITEM
 

Macros

#define CTRL_MENUBTN   ("menubutton")
 The class name of menubutton control. More...
 
#define CTRL_MENUBUTTON   ("menubutton")
 The class name of menubutton control. More...
 
#define MB_OKAY   0
 
#define MB_ERR   -1
 
#define MB_INV_ITEM   -2
 
#define MB_ERR_SPACE   -3
 
#define MB_WHICH_TEXT   0x01
 
#define MB_WHICH_BMP   0x02
 
#define MB_WHICH_ATTDATA   0x04
 

Typedefs

typedef struct _MENUBUTTONITEM MENUBUTTONITEM
 
typedef MENUBUTTONITEMPMENUBUTTONITEM
 Data type of the pointer to a MENUBUTTONITEM. More...
 

Detailed Description

Macro Definition Documentation

#define CTRL_MENUBTN   ("menubutton")

The class name of menubutton control.

Definition at line 72 of file menubutton.h.

#define CTRL_MENUBUTTON   ("menubutton")

The class name of menubutton control.

Definition at line 78 of file menubutton.h.

#define MB_ERR   -1

Menu Button return value

Definition at line 83 of file menubutton.h.

#define MB_ERR_SPACE   -3

Menu Button return value

Definition at line 87 of file menubutton.h.

#define MB_INV_ITEM   -2

Menu Button return value

Definition at line 85 of file menubutton.h.

#define MB_OKAY   0

Menu Button return value

Definition at line 81 of file menubutton.h.

#define MB_WHICH_ATTDATA   0x04

Struct used by parent to add/retrive item

Definition at line 94 of file menubutton.h.

#define MB_WHICH_BMP   0x02

Struct used by parent to add/retrive item

Definition at line 92 of file menubutton.h.

#define MB_WHICH_TEXT   0x01

Struct used by parent to add/retrive item

Definition at line 90 of file menubutton.h.

Typedef Documentation

Structure of the menubutton item

Data type of the pointer to a MENUBUTTONITEM.

Definition at line 120 of file menubutton.h.