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

#include <minigui.h>

Data Fields

void *(* init )(HDC dc_desktop)
 
void(* deinit )(void *context)
 
void(* paint_desktop )(void *context, HDC dc_desktop, const RECT *inv_rc)
 
void(* keyboard_handler )(void *context, int message, WPARAM wParam, LPARAM lParam)
 
void(* mouse_handler )(void *context, int message, WPARAM wParam, LPARAM lParam)
 
void(* customize_desktop_menu )(void *context, HMENU hmenu, int start_pos)
 
void(* desktop_menucmd_handler )(void *context, int id)
 

Detailed Description

Desktop operation set

Definition at line 2562 of file minigui.h.

Field Documentation

◆ customize_desktop_menu

void(* customize_desktop_menu(void *context, HMENU hmenu, int start_pos)

the desktop menu customizer

Definition at line 2583 of file minigui.h.

◆ deinit

void(* deinit(void *context)

called when terminating a seesion

Definition at line 2568 of file minigui.h.

◆ desktop_menucmd_handler

void(* desktop_menucmd_handler(void *context, int id)

the desktop menu command handler

Definition at line 2587 of file minigui.h.

◆ init

void*(* init(HDC dc_desktop)

called when starting a new session, and return a context

Definition at line 2565 of file minigui.h.

◆ keyboard_handler

void(* keyboard_handler(void *context, int message, WPARAM wParam, LPARAM lParam)

the keyboard event handler for the desktop

Definition at line 2575 of file minigui.h.

◆ mouse_handler

void(* mouse_handler(void *context, int message, WPARAM wParam, LPARAM lParam)

the mouse event handler for the desktop

Definition at line 2579 of file minigui.h.

◆ paint_desktop

void(* paint_desktop(void *context, HDC dc_desktop, const RECT *inv_rc)

called when the desktop should be repainted

Definition at line 2571 of file minigui.h.


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