comctl32: Partially implement new messages.

This commit is contained in:
André Hentschel 2010-12-04 16:39:55 +01:00 committed by Alexandre Julliard
parent 5e95e3d943
commit d32d1c866d
1 changed files with 11 additions and 5 deletions

View File

@ -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)
{