MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
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

◆ CTRL_MENUBTN

#define CTRL_MENUBTN   ("menubutton")

The class name of menubutton control.

Definition at line 84 of file menubutton.h.

◆ CTRL_MENUBUTTON

#define CTRL_MENUBUTTON   ("menubutton")

The class name of menubutton control.

Definition at line 90 of file menubutton.h.

◆ MB_ERR

#define MB_ERR   -1

Menu Button return value

Definition at line 95 of file menubutton.h.

◆ MB_ERR_SPACE

#define MB_ERR_SPACE   -3

Menu Button return value

Definition at line 99 of file menubutton.h.

◆ MB_INV_ITEM

#define MB_INV_ITEM   -2

Menu Button return value

Definition at line 97 of file menubutton.h.

◆ MB_OKAY

#define MB_OKAY   0

Menu Button return value

Definition at line 93 of file menubutton.h.

◆ MB_WHICH_ATTDATA

#define MB_WHICH_ATTDATA   0x04

Struct used by parent to add/retrive item

Definition at line 106 of file menubutton.h.

◆ MB_WHICH_BMP

#define MB_WHICH_BMP   0x02

Struct used by parent to add/retrive item

Definition at line 104 of file menubutton.h.

◆ MB_WHICH_TEXT

#define MB_WHICH_TEXT   0x01

Struct used by parent to add/retrive item

Definition at line 102 of file menubutton.h.

Typedef Documentation

◆ MENUBUTTONITEM

Structure of the menubutton item

◆ PMENUBUTTONITEM

Data type of the pointer to a MENUBUTTONITEM.

Definition at line 132 of file menubutton.h.