diff --git a/dlls/comctl32/progress.c b/dlls/comctl32/progress.c index 776345ffda1..a2c852e05e1 100644 --- a/dlls/comctl32/progress.c +++ b/dlls/comctl32/progress.c @@ -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 @@ -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); diff --git a/include/commctrl.h b/include/commctrl.h index 6eb5f32f6c8..98e4010a052 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_GETBARCOLOR (WM_USER+15) #define PBM_SETBKCOLOR CCM_SETBKCOLOR #define PBS_SMOOTH 0x01