Nikolay Sivov : comctl32/progress: Implement PBM_GETBKCOLOR.
Alexandre Julliard
julliard at winehq.org
Mon Jun 29 09:17:49 CDT 2009
Module: wine
Branch: master
Commit: 753407ef824b335210440863868d37646f39964a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=753407ef824b335210440863868d37646f39964a
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Sun Jun 28 02:51:59 2009 +0400
comctl32/progress: 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
More information about the wine-cvs
mailing list