[PATCH v2] include : Added missing Edit_* defines.

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Thu Aug 1 01:21:14 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 477c5d666cc..1e44ab0f442 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