André Hentschel : comctl32: Partially implement new messages.
Alexandre Julliard
julliard at winehq.org
Sun Dec 5 12:10:05 CST 2010
Module: wine
Branch: master
Commit: d32d1c866dadd289dcbd8f91ca3e3511a75e2a08
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d32d1c866dadd289dcbd8f91ca3e3511a75e2a08
Author: André Hentschel <nerv at dawncrow.de>
Date: Sat Dec 4 16:39:55 2010 +0100
comctl32: Partially implement new messages.
---
dlls/comctl32/progress.c | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/dlls/comctl32/progress.c b/dlls/comctl32/progress.c
index 5f2f166..1144b62 100644
--- a/dlls/comctl32/progress.c
+++ b/dlls/comctl32/progress.c
@@ -29,11 +29,6 @@
*
* TODO:
*
- * Messages:
- * -- PBM_GETSTEP
- * -- PBM_SETSTATE
- * -- PBM_GETSTATE
- *
* Styles:
* -- PBS_SMOOTHREVERSE
*
@@ -662,6 +657,9 @@ static LRESULT WINAPI ProgressWindowProc(HWND hwnd, UINT message,
return oldStep;
}
+ case PBM_GETSTEP:
+ return infoPtr->Step;
+
case PBM_STEPIT:
{
INT oldVal;
@@ -707,6 +705,14 @@ static LRESULT WINAPI ProgressWindowProc(HWND hwnd, UINT message,
case PBM_GETBKCOLOR:
return infoPtr->ColorBk;
+ case PBM_SETSTATE:
+ if(wParam != PBST_NORMAL)
+ FIXME("state %04lx not yet handled", wParam);
+ return PBST_NORMAL;
+
+ case PBM_GETSTATE:
+ return PBST_NORMAL;
+
case PBM_SETMARQUEE:
if(wParam != 0)
{
More information about the wine-cvs
mailing list