comctl32/progress: Implement PBM_GETBARCOLOR, add some todo entries.
This commit is contained in:
parent
f6bdb637bf
commit
84f3c50474
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue