Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
887a91f4
Commit
887a91f4
authored
Nov 07, 2000
by
Eric Kohl
Committed by
Alexandre Julliard
Nov 07, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented new messages.
parent
6011e98e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
updown.c
dlls/comctl32/updown.c
+18
-0
No files found.
dlls/comctl32/updown.c
View file @
887a91f4
...
...
@@ -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
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment