MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Fields
_MENUBUTTONITEM Struct Reference

#include <menubutton.h>

Data Fields

DWORD which
 
const char * text
 
PBITMAP bmp
 
DWORD data
 

Detailed Description

Structure of the menubutton item

Definition at line 109 of file menubutton.h.

Field Documentation

◆ bmp

PBITMAP bmp

Item bitmap

Definition at line 123 of file menubutton.h.

◆ data

DWORD data

Attached data

Definition at line 125 of file menubutton.h.

◆ text

const char* text

Item string

Definition at line 121 of file menubutton.h.

◆ which

DWORD which

Which fields are valid when sets/retrives the item information (ignored when add item). It can be OR'd with the following values:

  • MB_WHICH_TEXT The text field is valid.
  • MB_WHICH_BMP The bmp field is valid.
  • MB_WHICH_ATTDATA The data field is valid.

Definition at line 119 of file menubutton.h.


The documentation for this struct was generated from the following file: