comctl32/progress: Implement PBM_GETBARCOLOR, add some todo entries.

oldstable
Nikolay Sivov 2009-06-28 02:46:35 +04:00 committed by Alexandre Julliard
parent f6bdb637bf
commit 84f3c50474
2 changed files with 15 additions and 0 deletions

View File

@ -27,6 +27,17 @@
* the specification mentioned above.
* If you discover missing features, or bugs, please note them below.
*
* TODO:
*
* Messages:
* -- PBM_GETSTEP
* -- PBM_GETBKCOLOR
* -- PBM_SETSTATE
* -- PBM_GETSTATE
*
* Styles:
* -- PBS_SMOOTHREVERSE
*
*/
#include <stdarg.h>
@ -703,6 +714,9 @@ static LRESULT WINAPI ProgressWindowProc(HWND hwnd, UINT message,
InvalidateRect(hwnd, NULL, TRUE);
return 0;
case PBM_GETBARCOLOR:
return infoPtr->ColorBar;
case PBM_SETBKCOLOR:
infoPtr->ColorBk = (COLORREF)lParam;
InvalidateRect(hwnd, NULL, TRUE);

View File

@ -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_GETBARCOLOR (WM_USER+15)
#define PBM_SETBKCOLOR CCM_SETBKCOLOR
#define PBS_SMOOTH 0x01