Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

System messages
[Messages]

Defines


Define Documentation

#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.

Note:
This is a asynchronical message.

Definition at line 1721 of file window.h.

#define MSG_FDEVENT   0x0146
 

Indicates an event of registered file descriptor occurred.

You can use RegisterListenFD to register a file desciptor to MiniGUI-Lite 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;

Parameters:
fd The listened file descriptor.
type The event type.
context A context value.
Note:
Only available on MiniGUI-Lite.
See also:
RegisterListenFD

Definition at line 1687 of file window.h.

#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 1637 of file window.h.

#define MSG_SRVNOTIFY   0x0147
 

Indicates a notification from the server of MiniGUI-Lite.

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-Lite.

Definition at line 1702 of file window.h.

#define MSG_TIMER   0x0144
 

Indicates a timer has expired.

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

 MSG_TIMER
 int timer_id = (int)wParam;

Parameters:
timer_id The identifier of the timer has expired.

Definition at line 1654 of file window.h.


Generated on Mon Jun 26 13:54:32 2006 for MiniGUI V1.6.9 API Reference by  doxygen 1.4.2