Commit 887a91f4 authored by Eric Kohl's avatar Eric Kohl Committed by Alexandre Julliard

Implemented new messages.

parent 6011e98e
......@@ -944,6 +944,24 @@ static LRESULT WINAPI UpDownWindowProc(HWND hwnd, UINT message, WPARAM wParam,
infoPtr->MinVal, infoPtr->MaxVal, hwnd);
break;
case UDM_GETPOS32:
if ((LPBOOL)lParam != NULL)
*((LPBOOL)lParam) = TRUE;
return infoPtr->CurVal;
case UDM_SETPOS32:
if(!UPDOWN_InBounds(hwnd, (int)lParam)){
if((int)lParam < infoPtr->MinVal)
lParam = infoPtr->MinVal;
if((int)lParam > infoPtr->MaxVal)
lParam = infoPtr->MaxVal;
}
temp = infoPtr->CurVal; /* save prev value */
infoPtr->CurVal = (int)lParam; /* set the new value */
if(dwStyle & UDS_SETBUDDYINT)
UPDOWN_SetBuddyInt (hwnd);
return temp; /* return prev value */
default:
if (message >= WM_USER)
ERR("unknown msg %04x wp=%04x lp=%08lx\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment