MiniGUI API Reference (MiniGUI-Standalone)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros
Internal desktop messages

Macros

#define MSG_DT_LBUTTONDOWN   0x00E1
 Left mouse button down message on the desktop. More...
 
#define MSG_DT_LBUTTONUP   0x00E2
 Left mouse button up message on the desktop. More...
 
#define MSG_DT_LBUTTONDBLCLK   0x00E3
 Left mouse button double clicked message on the desktop. More...
 
#define MSG_DT_MOUSEMOVE   0x00E4
 The mouse moved message on the desktop. More...
 
#define MSG_DT_RBUTTONDOWN   0x00E5
 Right mouse button down message on the desktop. More...
 
#define MSG_DT_RBUTTONUP   0x00E6
 Right mouse button up message on the desktop. More...
 
#define MSG_DT_RBUTTONDBLCLK   0x00E7
 Right mouse button double clicked message on the desktop. More...
 
#define MSG_DT_KEYDOWN   0x00E8
 User presses a key down on the desktop. More...
 
#define MSG_DT_KEYUP   0x00EA
 User releases up a key on the desktop. More...
 

Detailed Description

Macro Definition Documentation

#define MSG_DT_KEYDOWN   0x00E8

User presses a key down on the desktop.

This message is posted to the desktop window when the user presses a key down.

1 MSG_DT_KEYDOWN
2 int scancode = (int)wParam;
Parameters
scancodeThe scan code of the pressed key.
See also
MSG_DT_KEYUP

Definition at line 1552 of file window.h.

#define MSG_DT_KEYUP   0x00EA

User releases up a key on the desktop.

This message is posted to the desktop window when the user releases up a key.

1 MSG_DT_KEYUP
2 int scancode = (int)wParam;
Parameters
scancodeThe scan code of the released key.
See also
MSG_DT_KEYDOWN

Definition at line 1570 of file window.h.

#define MSG_DT_LBUTTONDBLCLK   0x00E3

Left mouse button double clicked message on the desktop.

This message is posted to the desktop window when the user double clicks the left button of the mouse in the area of the desktop window.

1 MSG_DT_LBUTTONDBLCLK
2 int x_pos = LOSWORD (lParam);
3 int y_pos = HISWORD (lParam);
Parameters
x_pos,y_posThe position of the mouse in client coordinates.
See also
MSG_RBUTTONDBLCLK

Definition at line 1454 of file window.h.

#define MSG_DT_LBUTTONDOWN   0x00E1

Left mouse button down message on the desktop.

This message is posted to the desktop window when the user presses down the left button of the mouse in the area of the desktop window.

1 MSG_DT_LBUTTONDOWN
2 int x_pos = LOSWORD (lParam);
3 int y_pos = HISWORD (lParam);
Parameters
x_pos,y_posThe position of the mouse in desktop coordinates.
See also
MSG_DT_LBUTTONUP, MSG_LBUTTONDOWN

Definition at line 1416 of file window.h.

#define MSG_DT_LBUTTONUP   0x00E2

Left mouse button up message on the desktop.

This message is posted to the desktop window when the user releases up the left button of the mouse in the area of the desktop window.

1 MSG_DT_LBUTTONUP
2 int x_pos = LOSWORD (lParam);
3 int y_pos = HISWORD (lParam);
Parameters
x_pos,y_posThe position of the mouse in desktop coordinates.
See also
MSG_DT_LBUTTONDOWN, MSG_LBUTTONUP

Definition at line 1435 of file window.h.

#define MSG_DT_MOUSEMOVE   0x00E4

The mouse moved message on the desktop.

This message is posted to the desktop window when the user moves the mouse in the area of the desktop window.

1 MSG_DT_MOUSEMOVE
2 int x_pos = LOSWORD (lParam);
3 int y_pos = HISWORD (lParam);
Parameters
x_pos,y_posThe position of the mouse in desktop coordinates.
See also
MSG_MOUSEMOVE

Definition at line 1473 of file window.h.

#define MSG_DT_RBUTTONDBLCLK   0x00E7

Right mouse button double clicked message on the desktop.

This message is posted to the desktop window when the user double clicks the right button of the mouse in the area of the desktop window.

1 MSG_DT_RBUTTONDBLCLK
2 int x_pos = LOSWORD (lParam);
3 int y_pos = HISWORD (lParam);
Parameters
x_pos,y_posThe position of the mouse in desktop coordinates.
See also
MSG_LBUTTONDBLCLK

Definition at line 1531 of file window.h.

#define MSG_DT_RBUTTONDOWN   0x00E5

Right mouse button down message on the desktop.

This message is posted to the desktop window when the user presses down the right button of the mouse in the area of the desktop window.

1 MSG_DT_RBUTTONDOWN
2 int x_pos = LOSWORD (lParam);
3 int y_pos = HISWORD (lParam);
Parameters
x_pos,y_posThe position of the mouse in desktop coordinates.
See also
MSG_DT_RBUTTONUP, MSG_RBUTTONDOWN

Definition at line 1493 of file window.h.

#define MSG_DT_RBUTTONUP   0x00E6

Right mouse button up message on the desktop.

This message is posted to the desktop window when the user releases up the right button of the mouse in the area of the desktop window.

1 MSG_DT_RBUTTONUP
2 int x_pos = LOSWORD (lParam);
3 int y_pos = HISWORD (lParam);
Parameters
x_pos,y_posThe position of the mouse in desktop coordinates.
See also
MSG_DT_RBUTTONDOWN, MSG_RBUTTONUP

Definition at line 1512 of file window.h.