[2/5] comctl32/listview: Add a ListView_GetTextBkColor macro (resent)
Nikolay Sivov
bunglehead at gmail.com
Mon Apr 20 02:54:37 CDT 2009
Changelog:
- Add a ListView_GetTextBkColor macro
>From c5331d726bb84f97ad2c2e8596f3822268fde734 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Mon, 20 Apr 2009 02:53:41 -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 cfd9f3e..7d8b593 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