From 5b885ccee181af52f3c1236ad3b86465ce835970 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Fri, 6 Mar 2020 21:46:30 +0800 Subject: [PATCH] add MSG_SETAUTOREPEAT message --- include/window.h | 6 ++++++ src/include/msgstr.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/window.h b/include/window.h index 8d34d6f9..62527cf3 100644 --- a/include/window.h +++ b/include/window.h @@ -2446,6 +2446,7 @@ extern DWORD __mg_interval_time; #define MSG_GETNEXTMAINWIN 0x0103 +/* Since 5.0.0 */ #define MSG_SETALWAYSTOP 0x0104 typedef struct _COMPOSITINGINFO { @@ -2455,8 +2456,13 @@ typedef struct _COMPOSITINGINFO { /* Since 5.0.0 */ #define MSG_SETCOMPOSITING 0x0105 + +/* Since 5.0.0 */ #define MSG_DUMPZORDER 0x0106 +/* Since 5.0.0 */ +#define MSG_SETAUTOREPEAT 0x0107 + #define MSG_SHOWGLOBALCTRL 0x010A #define MSG_HIDEGLOBALCTRL 0x010B diff --git a/src/include/msgstr.h b/src/include/msgstr.h index 893de074..94638a1f 100644 --- a/src/include/msgstr.h +++ b/src/include/msgstr.h @@ -338,7 +338,7 @@ char * __mg_msgstr2 [] = "MSG_SETALWAYSTOP", // 0x0104 "MSG_SETCOMPOSITING", // 0x0105 "MSG_DUMPZORDER", // 0x0106 - "", // 0x0107 + "MSG_SETAUTOREPEAT", // 0x0107 "", // 0x0108 "", // 0x0109 "MSG_SHOWGLOBALCTRL", // 0x010A