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

Macros

#define MSG_DT_LBUTTONDOWN   0x00D1
 Left mouse button down message on the desktop. More...
 
#define MSG_DT_LBUTTONUP   0x00D2
 Left mouse button up message on the desktop. More...
 
#define MSG_DT_LBUTTONDBLCLK   0x00D3
 Left mouse button double clicked message on the desktop. More...
 
#define MSG_DT_MOUSEMOVE   0x00D4
 The mouse moved message on the desktop. More...
 
#define MSG_DT_RBUTTONDOWN   0x00D5
 Right mouse button down message on the desktop. More...
 
#define MSG_DT_RBUTTONUP   0x00D6
 Right mouse button up message on the desktop. More...
 
#define MSG_DT_RBUTTONDBLCLK   0x00D7
 Right mouse button double clicked message on the desktop. More...
 
#define MSG_DT_MBUTTONDOWN   0x00D8
 Right mouse button down message on the desktop. More...
 
#define MSG_DT_MBUTTONUP   0x00D9
 Right mouse button up message on the desktop. More...
 
#define MSG_DT_MBUTTONDBLCLK   0x00DA
 Right mouse button double clicked message on the desktop. More...
 
#define MSG_DT_KEYDOWN   0x00E0
 User presses a key down on the desktop. More...
 
#define MSG_DT_KEYUP   0x00E2
 User releases up a key on the desktop. More...
 

Detailed Description

Macro Definition Documentation

◆ MSG_DT_KEYDOWN

#define MSG_DT_KEYDOWN   0x00E0

User presses a key down on the desktop.

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

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

Definition at line 2394 of file window.h.

◆ MSG_DT_KEYUP

#define MSG_DT_KEYUP   0x00E2

User releases up a key on the desktop.

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

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

Definition at line 2414 of file window.h.

◆ MSG_DT_LBUTTONDBLCLK

#define MSG_DT_LBUTTONDBLCLK   0x00D3

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.

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

Definition at line 2238 of file window.h.

◆ MSG_DT_LBUTTONDOWN

#define MSG_DT_LBUTTONDOWN   0x00D1

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.

int x_pos = LOSWORD (lParam);
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 2200 of file window.h.

◆ MSG_DT_LBUTTONUP

#define MSG_DT_LBUTTONUP   0x00D2

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.

int x_pos = LOSWORD (lParam);
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 2219 of file window.h.

◆ MSG_DT_MBUTTONDBLCLK

#define MSG_DT_MBUTTONDBLCLK   0x00DA

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.

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

Definition at line 2373 of file window.h.

◆ MSG_DT_MBUTTONDOWN

#define MSG_DT_MBUTTONDOWN   0x00D8

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.

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

Definition at line 2335 of file window.h.

◆ MSG_DT_MBUTTONUP

#define MSG_DT_MBUTTONUP   0x00D9

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.

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

Definition at line 2354 of file window.h.

◆ MSG_DT_MOUSEMOVE

#define MSG_DT_MOUSEMOVE   0x00D4

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.

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

Definition at line 2257 of file window.h.

◆ MSG_DT_RBUTTONDBLCLK

#define MSG_DT_RBUTTONDBLCLK   0x00D7

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.

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

Definition at line 2315 of file window.h.

◆ MSG_DT_RBUTTONDOWN

#define MSG_DT_RBUTTONDOWN   0x00D5

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.

int x_pos = LOSWORD (lParam);
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 2277 of file window.h.

◆ MSG_DT_RBUTTONUP

#define MSG_DT_RBUTTONUP   0x00D6

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.

int x_pos = LOSWORD (lParam);
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 2296 of file window.h.

MSG_DT_KEYUP
#define MSG_DT_KEYUP
User releases up a key on the desktop.
Definition: window.h:2414
MSG_DT_MBUTTONDBLCLK
#define MSG_DT_MBUTTONDBLCLK
Right mouse button double clicked message on the desktop.
Definition: window.h:2373
HISWORD
#define HISWORD(l)
Returns the high signed word of the double word l.
Definition: common.h:837
MSG_DT_MOUSEMOVE
#define MSG_DT_MOUSEMOVE
The mouse moved message on the desktop.
Definition: window.h:2257
MSG_DT_MBUTTONDOWN
#define MSG_DT_MBUTTONDOWN
Right mouse button down message on the desktop.
Definition: window.h:2335
MSG_DT_LBUTTONDBLCLK
#define MSG_DT_LBUTTONDBLCLK
Left mouse button double clicked message on the desktop.
Definition: window.h:2238
MSG_DT_LBUTTONDOWN
#define MSG_DT_LBUTTONDOWN
Left mouse button down message on the desktop.
Definition: window.h:2200
MSG_DT_MBUTTONUP
#define MSG_DT_MBUTTONUP
Right mouse button up message on the desktop.
Definition: window.h:2354
LOSWORD
#define LOSWORD(l)
Returns the low signed word of the double word l.
Definition: common.h:830
MSG_DT_LBUTTONUP
#define MSG_DT_LBUTTONUP
Left mouse button up message on the desktop.
Definition: window.h:2219
MSG_DT_RBUTTONUP
#define MSG_DT_RBUTTONUP
Right mouse button up message on the desktop.
Definition: window.h:2296
MSG_DT_RBUTTONDBLCLK
#define MSG_DT_RBUTTONDBLCLK
Right mouse button double clicked message on the desktop.
Definition: window.h:2315
MSG_DT_RBUTTONDOWN
#define MSG_DT_RBUTTONDOWN
Right mouse button down message on the desktop.
Definition: window.h:2277
MSG_DT_KEYDOWN
#define MSG_DT_KEYDOWN
User presses a key down on the desktop.
Definition: window.h:2394