[1/4] comctl32/listview: Add a ListView_GetTextBkColor macro

Nikolay Sivov bunglehead at gmail.com
Thu Apr 16 17:45:28 CDT 2009


Changelog:
    - Add a ListView_GetTextBkColor macro

>From d331980a0cdb4904a59d7bd09e39b620081891d0 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Thu, 16 Apr 2009 16:11:37 -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