Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
8398f6e9
Commit
8398f6e9
authored
Mar 29, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Mar 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix SPI_GETLISTBOXSMOOTHSCROLLING, and implement SPI_SETLISTBOXSMOOTHSCROLLING.
parent
964509df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
22 deletions
+4
-22
sysparams.c
dlls/user/sysparams.c
+4
-22
No files found.
dlls/user/sysparams.c
View file @
8398f6e9
...
...
@@ -298,7 +298,6 @@ static BOOL lowpoweractive = FALSE;
static
BOOL
poweroffactive
=
FALSE
;
static
BOOL
show_sounds
=
FALSE
;
static
BOOL
swap_buttons
=
FALSE
;
static
BOOL
listbox_smoothscrolling
=
FALSE
;
static
UINT
caret_width
=
1
;
static
BYTE
user_prefs
[
4
];
...
...
@@ -2125,29 +2124,12 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
break
;
case
SPI_GETLISTBOXSMOOTHSCROLLING
:
/* 0x1006 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
if
(
!
pvParam
)
return
FALSE
;
spi_idx
=
SPI_SETLISTBOXSMOOTHSCROLLING_IDX
;
if
(
!
spi_loaded
[
spi_idx
])
{
WCHAR
buf
[
5
];
if
(
SYSPARAMS_Load
(
SPI_SETLISTBOXSMOOTHSCROLLING_REGKEY
,
SPI_SETLISTBOXSMOOTHSCROLLING_VALNAME
,
buf
,
sizeof
(
buf
)
))
{
if
((
buf
[
0
]
&
0x01
)
==
0x01
)
{
listbox_smoothscrolling
=
TRUE
;
}
}
spi_loaded
[
spi_idx
]
=
TRUE
;
}
*
(
BOOL
*
)
pvParam
=
listbox_smoothscrolling
;
ret
=
get_user_pref_param
(
0
,
0x08
,
pvParam
);
break
;
WINE_SPI_FIXME
(
SPI_SETLISTBOXSMOOTHSCROLLING
);
/* 0x1007 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
case
SPI_SETLISTBOXSMOOTHSCROLLING
:
/* 0x1007 _WIN32_WINNT >= 0x500 || _WIN32_WINDOW > 0x400 */
ret
=
set_user_pref_param
(
0
,
0x08
,
(
BOOL
)
pvParam
,
fWinIni
);
break
;
case
SPI_GETGRADIENTCAPTIONS
:
ret
=
get_user_pref_param
(
0
,
0x10
,
pvParam
);
...
...
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