#define MSG_DOESNEEDIME 0x0150 |
Sends 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.
#define MSG_FDEVENT 0x0146 |
Indicates an event of registered file descriptor occurred.
You can use RegisterListenFD to register a file desciptor to MiniGUI-Processes for listening.
When there is a read/write/except event on the fd, MiniGUI will post a MSG_FDEVENT message with wParam being equal to MAKELONG (fd, type), and the lParam being set to be the context to the target window.
MSG_FDEVENT int fd = LOWORD(wParam); int type = HIWORD(wParam); void* context = (void*)lParam;
fd | The listened file descriptor. | |
type | The event type. | |
context | A context value. |
#define MSG_IDLE 0x0142 |
#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.
#define MSG_TIMER 0x0144 |
Indicates a timer has expired.
This message is sent to the window when a timer expired.
timer_id | The identifier of the timer has expired. | |
tick_count | The tick count when the timer had expired. |