[1/5] comctl32/listview: Add a ListView_GetTextBkColor macro (resent2)

Nikolay Sivov bunglehead at gmail.com
Mon Apr 20 07:20:38 CDT 2009


Changelog:
    - Add a ListView_GetTextBkColor macro

>From 95b39571ca005c84845d0ac990553c62be881be0 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Mon, 20 Apr 2009 07:36:31 -0400
Subject: Add a ListView_GetTextBkColor macro

---
 dlls/comctl32/listview.c |    1 -
 include/commctrl.h       |    2 ++
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index d594e51..c5261e1 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -144,7 +144,6 @@
  *   -- ListView_GetISearchString
  *   -- ListView_GetNumberOfWorkAreas
  *   -- ListView_GetOrigin
- *   -- ListView_GetTextBkColor
  *   -- ListView_GetUnicodeFormat, ListView_SetUnicodeFormat
  *   -- ListView_GetWorkAreas, ListView_SetWorkAreas
  *
diff --git a/include/commctrl.h b/include/commctrl.h
index a3ec513..690ecbd 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -3743,6 +3743,8 @@ typedef struct NMLVSCROLL
     (HWND)SNDMSGA((hwnd), LVM_GETEDITCONTROL, 0, 0)
 #define ListView_GetTextColor(hwnd)  \
     (COLORREF)SNDMSGA((hwnd), LVM_GETTEXTCOLOR, 0, 0)
+#define ListView_GetTextBkColor(hwnd) \
+    (COLORREF)SNDMSGA((hwnd), LVM_GETTEXTBKCOLOR, 0, 0L)
 #define ListView_GetBkColor(hwnd)  \
     (COLORREF)SNDMSGA((hwnd), LVM_GETBKCOLOR, 0, 0)
 #define ListView_GetItemA(hwnd,pitem) \
-- 
1.5.6.5





More information about the wine-patches mailing list