[PATCH 13/13] include : Added missing Edit_* defines.

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Wed Jul 31 22:29:06 CDT 2019


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 include/commctrl.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/commctrl.h b/include/commctrl.h
index 8b4f0ecd70..50d2c9c9b7 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -5336,6 +5336,14 @@ typedef struct _tagEDITBALLOONTIP
         (BOOL)SNDMSG((hwnd), EM_SETCUEBANNER, (WPARAM)(drawfocused), (LPARAM)(text))
 #define Edit_GetCueBannerText(hwnd, buff, buff_size) \
         (BOOL)SNDMSG((hwnd), EM_GETCUEBANNER, (WPARAM)(buff), (LPARAM)(buff_size))
+#define Edit_SetHilite(hwnd, start, end) \
+        SNDMSG((hwnd), EM_SETHILITE, start, end)
+#define Edit_GetHilite(hwnd) \
+        ((DWORD)SNDMSG((hwnd), EM_GETHILITE, 0L, 0L))
+#define Edit_ShowBalloonTip(hwnd, tip) \
+        (BOOL)SNDMSG((hwnd), EM_SHOWBALLOONTIP, 0, (LPARAM)(tip))
+#define Edit_HideBalloonTip(hwnd) \
+        (BOOL)SNDMSG((hwnd), EM_HIDEBALLOONTIP, 0, 0)
 
 /**************************************************************************
  * Listbox control
-- 
2.17.1




More information about the wine-devel mailing list