[3/4] comctl32/progress: Implement PBM_GETBKCOLOR
Nikolay Sivov
bunglehead at gmail.com
Mon Jun 29 04:12:41 CDT 2009
Changelog:
- Implement PBM_GETBKCOLOR
>From f62e6c890b7f97b0a960179dcb677bec36c93d6f Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Sun, 28 Jun 2009 02:51:59 +0400
Subject: Implement PBM_GETBKCOLOR
---
dlls/comctl32/progress.c | 4 +++-
include/commctrl.h | 1 +
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/progress.c b/dlls/comctl32/progress.c
index a2c852e..56f40bb 100644
--- a/dlls/comctl32/progress.c
+++ b/dlls/comctl32/progress.c
@@ -31,7 +31,6 @@
*
* Messages:
* -- PBM_GETSTEP
- * -- PBM_GETBKCOLOR
* -- PBM_SETSTATE
* -- PBM_GETSTATE
*
@@ -722,6 +721,9 @@ static LRESULT WINAPI ProgressWindowProc(HWND hwnd, UINT message,
InvalidateRect(hwnd, NULL, TRUE);
return 0;
+ case PBM_GETBKCOLOR:
+ return infoPtr->ColorBk;
+
case PBM_SETMARQUEE:
if(wParam != 0)
{
diff --git a/include/commctrl.h b/include/commctrl.h
index 98e4010..2c887d0 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -484,6 +484,7 @@ static const WCHAR PROGRESS_CLASSW[] = { 'm','s','c','t','l','s','_',
#define PBM_GETPOS (WM_USER+8)
#define PBM_SETBARCOLOR (WM_USER+9)
#define PBM_SETMARQUEE (WM_USER+10)
+#define PBM_GETBKCOLOR (WM_USER+14)
#define PBM_GETBARCOLOR (WM_USER+15)
#define PBM_SETBKCOLOR CCM_SETBKCOLOR
--
1.5.6.5
More information about the wine-patches
mailing list