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
7b1765c1
Commit
7b1765c1
authored
Jun 23, 2008
by
Vitaly Lipatov
Committed by
Alexandre Julliard
Jun 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Implemented processing SPI_{GET/SET}WHEELSCROLLCHARS for SystemParametersInfo.
parent
dfdb64c1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
sysparams.c
dlls/user32/sysparams.c
+18
-0
No files found.
dlls/user32/sysparams.c
View file @
7b1765c1
...
@@ -73,6 +73,7 @@ enum spi_index
...
@@ -73,6 +73,7 @@ enum spi_index
SPI_SETMOUSEHOVERWIDTH_IDX
,
SPI_SETMOUSEHOVERWIDTH_IDX
,
SPI_SETMOUSEHOVERHEIGHT_IDX
,
SPI_SETMOUSEHOVERHEIGHT_IDX
,
SPI_SETMOUSEHOVERTIME_IDX
,
SPI_SETMOUSEHOVERTIME_IDX
,
SPI_SETMOUSESCROLLCHARS_IDX
,
SPI_SETMOUSESCROLLLINES_IDX
,
SPI_SETMOUSESCROLLLINES_IDX
,
SPI_SETMENUSHOWDELAY_IDX
,
SPI_SETMENUSHOWDELAY_IDX
,
SPI_SETICONTITLELOGFONT_IDX
,
SPI_SETICONTITLELOGFONT_IDX
,
...
@@ -209,6 +210,8 @@ static const WCHAR SPI_SETMOUSEHOVERHEIGHT_REGKEY[]= {'C','o','n','t','
...
@@ -209,6 +210,8 @@ static const WCHAR SPI_SETMOUSEHOVERHEIGHT_REGKEY[]= {'C','o','n','t','
static
const
WCHAR
SPI_SETMOUSEHOVERHEIGHT_VALNAME
[]
=
{
'M'
,
'o'
,
'u'
,
's'
,
'e'
,
'H'
,
'o'
,
'v'
,
'e'
,
'r'
,
'H'
,
'e'
,
'i'
,
'g'
,
'h'
,
't'
,
0
};
static
const
WCHAR
SPI_SETMOUSEHOVERHEIGHT_VALNAME
[]
=
{
'M'
,
'o'
,
'u'
,
's'
,
'e'
,
'H'
,
'o'
,
'v'
,
'e'
,
'r'
,
'H'
,
'e'
,
'i'
,
'g'
,
'h'
,
't'
,
0
};
static
const
WCHAR
SPI_SETMOUSEHOVERTIME_REGKEY
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
' '
,
'P'
,
'a'
,
'n'
,
'e'
,
'l'
,
'\\'
,
'M'
,
'o'
,
'u'
,
's'
,
'e'
,
0
};
static
const
WCHAR
SPI_SETMOUSEHOVERTIME_REGKEY
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
' '
,
'P'
,
'a'
,
'n'
,
'e'
,
'l'
,
'\\'
,
'M'
,
'o'
,
'u'
,
's'
,
'e'
,
0
};
static
const
WCHAR
SPI_SETMOUSEHOVERTIME_VALNAME
[]
=
{
'M'
,
'o'
,
'u'
,
's'
,
'e'
,
'H'
,
'o'
,
'v'
,
'e'
,
'r'
,
'T'
,
'i'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
SPI_SETMOUSEHOVERTIME_VALNAME
[]
=
{
'M'
,
'o'
,
'u'
,
's'
,
'e'
,
'H'
,
'o'
,
'v'
,
'e'
,
'r'
,
'T'
,
'i'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
SPI_SETMOUSESCROLLCHARS_REGKEY
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
' '
,
'P'
,
'a'
,
'n'
,
'e'
,
'l'
,
'\\'
,
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
static
const
WCHAR
SPI_SETMOUSESCROLLCHARS_VALNAME
[]
=
{
'W'
,
'h'
,
'e'
,
'e'
,
'l'
,
'S'
,
'c'
,
'r'
,
'o'
,
'l'
,
'l'
,
'C'
,
'h'
,
'a'
,
'r'
,
's'
,
0
};
static
const
WCHAR
SPI_SETMOUSESCROLLLINES_REGKEY
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
' '
,
'P'
,
'a'
,
'n'
,
'e'
,
'l'
,
'\\'
,
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
static
const
WCHAR
SPI_SETMOUSESCROLLLINES_REGKEY
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
' '
,
'P'
,
'a'
,
'n'
,
'e'
,
'l'
,
'\\'
,
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
static
const
WCHAR
SPI_SETMOUSESCROLLLINES_VALNAME
[]
=
{
'W'
,
'h'
,
'e'
,
'e'
,
'l'
,
'S'
,
'c'
,
'r'
,
'o'
,
'l'
,
'l'
,
'L'
,
'i'
,
'n'
,
'e'
,
's'
,
0
};
static
const
WCHAR
SPI_SETMOUSESCROLLLINES_VALNAME
[]
=
{
'W'
,
'h'
,
'e'
,
'e'
,
'l'
,
'S'
,
'c'
,
'r'
,
'o'
,
'l'
,
'l'
,
'L'
,
'i'
,
'n'
,
'e'
,
's'
,
0
};
static
const
WCHAR
SPI_SETMENUSHOWDELAY_REGKEY
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
' '
,
'P'
,
'a'
,
'n'
,
'e'
,
'l'
,
'\\'
,
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
static
const
WCHAR
SPI_SETMENUSHOWDELAY_REGKEY
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
' '
,
'P'
,
'a'
,
'n'
,
'e'
,
'l'
,
'\\'
,
'D'
,
'e'
,
's'
,
'k'
,
't'
,
'o'
,
'p'
,
0
};
...
@@ -293,6 +296,7 @@ static BOOL screen_reader = FALSE;
...
@@ -293,6 +296,7 @@ static BOOL screen_reader = FALSE;
static
UINT
mouse_hover_width
=
4
;
static
UINT
mouse_hover_width
=
4
;
static
UINT
mouse_hover_height
=
4
;
static
UINT
mouse_hover_height
=
4
;
static
UINT
mouse_hover_time
=
400
;
static
UINT
mouse_hover_time
=
400
;
static
UINT
mouse_scroll_chars
=
3
;
static
UINT
mouse_scroll_lines
=
3
;
static
UINT
mouse_scroll_lines
=
3
;
static
UINT
menu_show_delay
=
400
;
static
UINT
menu_show_delay
=
400
;
static
UINT
menu_drop_alignment
=
0
;
static
UINT
menu_drop_alignment
=
0
;
...
@@ -2112,6 +2116,20 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
...
@@ -2112,6 +2116,20 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
&
menu_show_delay
,
uiParam
,
fWinIni
);
&
menu_show_delay
,
uiParam
,
fWinIni
);
break
;
break
;
case
SPI_GETWHEELSCROLLCHARS
:
/* 108 _WIN32_WINNT >= 0x400 || _WIN32_WINDOW > 0x400 */
ret
=
get_uint_param
(
SPI_SETMOUSESCROLLCHARS_IDX
,
SPI_SETMOUSESCROLLCHARS_REGKEY
,
SPI_SETMOUSESCROLLCHARS_VALNAME
,
&
mouse_scroll_chars
,
pvParam
);
break
;
case
SPI_SETWHEELSCROLLCHARS
:
/* 109 _WIN32_WINNT >= 0x400 || _WIN32_WINDOW > 0x400 */
ret
=
set_uint_param
(
SPI_SETMOUSESCROLLCHARS_IDX
,
SPI_SETMOUSESCROLLCHARS_REGKEY
,
SPI_SETMOUSESCROLLCHARS_VALNAME
,
&
mouse_scroll_chars
,
uiParam
,
fWinIni
);
break
;
WINE_SPI_FIXME
(
SPI_GETSHOWIMEUI
);
/* 110 _WIN32_WINNT >= 0x400 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_GETSHOWIMEUI
);
/* 110 _WIN32_WINNT >= 0x400 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_SETSHOWIMEUI
);
/* 111 _WIN32_WINNT >= 0x400 || _WIN32_WINDOW > 0x400 */
WINE_SPI_FIXME
(
SPI_SETSHOWIMEUI
);
/* 111 _WIN32_WINNT >= 0x400 || _WIN32_WINDOW > 0x400 */
...
...
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