add MSG_MOVEWINDOW which will be sent as a notification after calling MoveWindow; add new internal message MSG_DUMPZORDER

This commit is contained in:
Vincent Wei
2020-02-29 16:02:00 +08:00
parent 04535d691f
commit 734debce34

View File

@@ -2035,8 +2035,8 @@ extern DWORD __mg_interval_time;
* \def MSG_SHOWWINDOW
* \brief Indicates that the window has been shown or hidden.
*
* This message is sent to the window when the window has been shown
* or hidden (due to the calling of the function ShowWindow).
* This message is sent to the window as a notification after the window
* has been shown or hidden (due to the calling of the function ShowWindow).
*
* \code
* MSG_SHOWWINDOW
@@ -2057,6 +2057,29 @@ extern DWORD __mg_interval_time;
*/
#define MSG_SHOWWINDOW 0x00A0
/**
* \def MSG_MOVEWINDOW
* \brief Indicates that the window has been moved.
*
* This message is sent to the window as a notification after the window
* has been moved (due to the calling of the function MoveWindow).
*
* \code
* MSG_MOVEWINDOW
* int lx = LOSWORD(wParam);
* int ty = HISWORD(wParam);
* int rx = LOSWORD(lParam);
* int by = HISWORD(lParam);
* \endcode
*
* \param lx, ty, rx, by The new rectangle coordinates of the window.
*
* \sa MoveWindow
*
* Since 5.0.0
*/
#define MSG_MOVEWINDOW 0x00A1
/**
* \def MSG_ERASEBKGND
* \brief Sent to the window to erase the background.
@@ -2432,6 +2455,7 @@ typedef struct _COMPOSITINGINFO {
/* Since 5.0.0 */
#define MSG_SETCOMPOSITING 0x0105
#define MSG_DUMPZORDER 0x0106
#define MSG_SHOWGLOBALCTRL 0x010A
#define MSG_HIDEGLOBALCTRL 0x010B