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

#include <minigui.h>

Data Fields

void *(* init )(void)
 
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 1509 of file minigui.h.

Field Documentation

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

the desktop menu customizer

Definition at line 1530 of file minigui.h.

void(* deinit) (void *context)

called when terminating a seesion

Definition at line 1515 of file minigui.h.

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

the desktop menu command handler

Definition at line 1534 of file minigui.h.

void*(* init) (void)

called when starting a new session, and return a context

Definition at line 1512 of file minigui.h.

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

the keyboard event handler for the desktop

Definition at line 1522 of file minigui.h.

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

the mouse event handler for the desktop

Definition at line 1526 of file minigui.h.

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

called when the desktop should be repainted

Definition at line 1518 of file minigui.h.


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