MiniGUI API Reference (MiniGUI-Threads)
v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Macros | |
#define | MSG_LBUTTONDOWN 0x0001 |
Left mouse button down message. More... | |
#define | MSG_LBUTTONUP 0x0002 |
Left mouse button up message. More... | |
#define | MSG_LBUTTONDBLCLK 0x0003 |
Left mouse button double clicked message. More... | |
#define | MSG_MOUSEMOVE 0x0004 |
The mouse moved message. More... | |
#define | MSG_RBUTTONDOWN 0x0005 |
Right mouse button down message. More... | |
#define | MSG_RBUTTONUP 0x0006 |
Right mouse button up message. More... | |
#define | MSG_RBUTTONDBLCLK 0x0007 |
Right mouse button double clicked message. More... | |
#define | MSG_MBUTTONDOWN 0x0008 |
Middle mouse button down message. More... | |
#define | MSG_MBUTTONUP 0x0009 |
Middle mouse button up message. More... | |
#define | MSG_MBUTTONDBLCLK 0x000A |
Middle mouse button double clicked message. More... | |
#define | MSG_NCLBUTTONDOWN 0x000B |
Left mouse button down message in the non-client area. More... | |
#define | MSG_NCLBUTTONUP 0x000C |
Left mouse button up message in the non-client area. More... | |
#define | MSG_NCLBUTTONDBLCLK 0x000D |
Left mouse button double clicked in the non-client area. More... | |
#define | MSG_NCMOUSEMOVE 0x000E |
Mouse moves in the non-client area. More... | |
#define | MSG_NCRBUTTONDOWN 0x000F |
Right mouse button down message in the non-client area. More... | |
#define | MSG_NCRBUTTONUP 0x0010 |
Right mouse button up message in the non-client area. More... | |
#define | MSG_NCRBUTTONDBLCLK 0x0011 |
Right mouse button double clicked in the non-client area. More... | |
#define | MSG_NCMBUTTONDOWN 0x0012 |
Middle mouse button down message in the non-client area. More... | |
#define | MSG_NCMBUTTONUP 0x0013 |
Middle mouse button up message in the non-client area. More... | |
#define | MSG_NCMBUTTONDBLCLK 0x0014 |
Middle mouse button double clicked in the non-client area. More... | |
#define MSG_LBUTTONDBLCLK 0x0003 |
Left mouse button double clicked message.
This message is posted to the window when the user double clicks the left button of the mouse in the client area of the window.
key_flags | The shift key status when this message occurred. |
x_pos,y_pos | The position of the mouse in client coordinates. |
#define MSG_LBUTTONDOWN 0x0001 |
Left mouse button down message.
This message is posted to the window when the user presses down the left button of the mouse in the client area of the window.
key_flags | The shift key status when this message occurred. |
x_pos,y_pos | The position of the mouse in client coordinates. |
Example:
#define MSG_LBUTTONUP 0x0002 |
Left mouse button up message.
This message is posted to the window when the user releases up the left button of the mouse in the client area of the window.
key_flags | The shift key status when this message occurred. |
x_pos,y_pos | The position of the mouse in client coordinates. |
#define MSG_MBUTTONDBLCLK 0x000A |
Middle mouse button double clicked message.
This message is posted to the window when the user double clicks the middle button of the mouse in the client area of the window.
key_flags | The shift key status when this message occurred. |
x_pos,y_pos | The position of the mouse in client coordinates. |
#define MSG_MBUTTONDOWN 0x0008 |
Middle mouse button down message.
This message is posted to the window when the user presses down the middle button of the mouse in the client area of the window.
key_flags | The shift key status when this message occurred. |
x_pos,y_pos | The position of the mouse in client coordinates. |
Since 4.0.0
#define MSG_MBUTTONUP 0x0009 |
Middle mouse button up message.
This message is posted to the window when the user releases up the middle button of the mouse in the client area of the window.
key_flags | The shift key status when this message occurred. |
x_pos,y_pos | The position of the mouse in client coordinates. |
Since 4.0.0
#define MSG_MOUSEMOVE 0x0004 |
The mouse moved message.
This message is posted to the window when the user moves the mouse in the client area of the window.
key_flags | The shift key status when this message occurred. |
x_pos,y_pos | The position of the mouse in client coordinates. |
#define MSG_NCLBUTTONDBLCLK 0x000D |
Left mouse button double clicked in the non-client area.
This message is posted to the window when the user double clicks the left button of the mouse in the non-client area of the window.
hit_code | The hit test code which tells the area of the mouse. |
x_pos,y_pos | The position of the mouse in window coordinates. |
#define MSG_NCLBUTTONDOWN 0x000B |
Left mouse button down message in the non-client area.
This message is posted to the window when the user presses down the left button of the mouse in the non-client area of the window.
hit_code | The hit test code which tells the area of the mouse. |
x_pos,y_pos | The position of the mouse in window coordinates. |
#define MSG_NCLBUTTONUP 0x000C |
Left mouse button up message in the non-client area.
This message is posted to the window when the user releases up the left button of the mouse in the non-client area of the window.
hit_code | The hit test code which tells the area of the mouse. |
x_pos,y_pos | The position of the mouse in window coordinates. |
#define MSG_NCMBUTTONDBLCLK 0x0014 |
Middle mouse button double clicked in the non-client area.
This message is posted to the window when the user double clicks the middle button of the mouse in the non-client area of the window.
hit_code | The hit test code which tells the area of the mouse. |
x_pos,y_pos | The position of the mouse in window coordinates. |
#define MSG_NCMBUTTONDOWN 0x0012 |
Middle mouse button down message in the non-client area.
This message is posted to the window when the user presses down the middle button of the mouse in the non-client area of the window.
hit_code | The hit test code which tells the area of the mouse. |
x_pos,y_pos | The position of the mouse in window coordinates. |
#define MSG_NCMBUTTONUP 0x0013 |
Middle mouse button up message in the non-client area.
This message is posted to the window when the user releases up the middle button of the mouse in the non-client area of the window.
hit_code | The hit test code which tells the area of the mouse. |
x_pos,y_pos | The position of the mouse in window coordinates. |
#define MSG_NCMOUSEMOVE 0x000E |
Mouse moves in the non-client area.
This message is posted to the window when the user moves the mouse in the non-client area of the window.
hit_code | The hit test code which tells the area of the mouse. |
x_pos,y_pos | The position of the mouse in window coordinates. |
#define MSG_NCRBUTTONDBLCLK 0x0011 |
Right mouse button double clicked in the non-client area.
This message is posted to the window when the user double clicks the right button of the mouse in the non-client area of the window.
hit_code | The hit test code which tells the area of the mouse. |
x_pos,y_pos | The position of the mouse in window coordinates. |
#define MSG_NCRBUTTONDOWN 0x000F |
Right mouse button down message in the non-client area.
This message is posted to the window when the user presses down the right button of the mouse in the non-client area of the window.
hit_code | The hit test code which tells the area of the mouse. |
x_pos,y_pos | The position of the mouse in window coordinates. |
#define MSG_NCRBUTTONUP 0x0010 |
Right mouse button up message in the non-client area.
This message is posted to the window when the user releases up the right button of the mouse in the non-client area of the window.
hit_code | The hit test code which tells the area of the mouse. |
x_pos,y_pos | The position of the mouse in window coordinates. |
#define MSG_RBUTTONDBLCLK 0x0007 |
Right mouse button double clicked message.
This message is posted to the window when the user double clicks the right button of the mouse in the client area of the window.
key_flags | The shift key status when this message occurred. |
x_pos,y_pos | The position of the mouse in client coordinates. |
#define MSG_RBUTTONDOWN 0x0005 |
Right mouse button down message.
This message is posted to the window when the user presses down the right button of the mouse in the client area of the window.
key_flags | The shift key status when this message occurred. |
x_pos,y_pos | The position of the mouse in client coordinates. |
Example:
#define MSG_RBUTTONUP 0x0006 |
Right mouse button up message.
This message is posted to the window when the user releases up the right button of the mouse in the client area of the window.
key_flags | The shift key status when this message occurred. |
x_pos,y_pos | The position of the mouse in client coordinates. |