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

Macros

#define MSG_IDLE   0x0142
 Indicates the system enters idle loop. More...
 
#define MSG_TIMER   0x0144
 Indicates a timer has expired. More...
 
#define MSG_SRVNOTIFY   0x0147
 Indicates a notification from the server of MiniGUI-Processes. More...
 
#define MSG_DOESNEEDIME   0x0150
 Send to a window to query whether the window needs to open IME window. More...
 

Detailed Description

Macro Definition Documentation

◆ MSG_DOESNEEDIME

#define MSG_DOESNEEDIME   0x0150

Send to a window to query whether the window needs to open IME window.

The system will send this message when the window gain the input focus to determine whether the window needs to open IME window.

The application should handle this message and return TRUE when the window need IME window. Default window procedure returns FALSE.

Note
This is an asynchronous message.

Definition at line 3016 of file window.h.

◆ MSG_IDLE

#define MSG_IDLE   0x0142

Indicates the system enters idle loop.

This message is sent to the all main windows when the system enters idle loop.

Definition at line 2909 of file window.h.

◆ MSG_SRVNOTIFY

#define MSG_SRVNOTIFY   0x0147

Indicates a notification from the server of MiniGUI-Processes.

This message will be broadcasted to all of the main windows in a client process when the client receives a MSG_SRVNOTIFY message from the server.

The server, i.e. 'mginit' defines the meaning of two parameters of this message.

Note
Only available on MiniGUI-Processes.

Definition at line 2982 of file window.h.

◆ MSG_TIMER

#define MSG_TIMER   0x0144

Indicates a timer has expired.

This message is sent to the window when a timer expired.

LINT timer_id = (LINT)wParam;
DWORD tick_count = (DWORD)lParam;
Parameters
timer_idThe identifier of the timer has expired.
tick_countThe tick count when the timer had expired.

Definition at line 2928 of file window.h.

DWORD
DWORD_PTR DWORD
A unsigned long type definition for pointer precision.
Definition: common.h:604
LINT
LONG_PTR LINT
Signed integer which has pointer precision.
Definition: common.h:577
MSG_TIMER
#define MSG_TIMER
Indicates a timer has expired.
Definition: window.h:2928