MiniGUI API Reference (MiniGUI-Threads)  v3.2.0
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 97 of file menubutton.h.

Field Documentation

PBITMAP bmp

Item bitmap

Definition at line 111 of file menubutton.h.

DWORD data

Attached data

Definition at line 113 of file menubutton.h.

const char* text

Item string

Definition at line 109 of file menubutton.h.

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 107 of file menubutton.h.


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