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
aaec50d4
Commit
aaec50d4
authored
May 03, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
May 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: SCROLL_SetNCSbState() is not used anymore so remove it.
parent
7d460a4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
28 deletions
+0
-28
controls.h
dlls/user32/controls.h
+0
-2
scroll.c
dlls/user32/scroll.c
+0
-26
No files found.
dlls/user32/controls.h
View file @
aaec50d4
...
...
@@ -179,8 +179,6 @@ extern void NC_GetSysPopupPos( HWND hwnd, RECT* rect ) DECLSPEC_HIDDEN;
/* scrollbar */
extern
void
SCROLL_DrawScrollBar
(
HWND
hwnd
,
HDC
hdc
,
INT
nBar
,
BOOL
arrows
,
BOOL
interior
)
DECLSPEC_HIDDEN
;
extern
void
SCROLL_TrackScrollBar
(
HWND
hwnd
,
INT
scrollbar
,
POINT
pt
)
DECLSPEC_HIDDEN
;
extern
INT
SCROLL_SetNCSbState
(
HWND
hwnd
,
int
vMin
,
int
vMax
,
int
vPos
,
int
hMin
,
int
hMax
,
int
hPos
)
DECLSPEC_HIDDEN
;
/* combo box */
...
...
dlls/user32/scroll.c
View file @
aaec50d4
...
...
@@ -1919,32 +1919,6 @@ BOOL WINAPI SetScrollRange(HWND hwnd, INT nBar, INT minVal, INT maxVal, BOOL bRe
/*************************************************************************
* SCROLL_SetNCSbState
*
* Updates both scrollbars at the same time. Used by MDI CalcChildScroll().
*/
INT
SCROLL_SetNCSbState
(
HWND
hwnd
,
int
vMin
,
int
vMax
,
int
vPos
,
int
hMin
,
int
hMax
,
int
hPos
)
{
SCROLLINFO
vInfo
,
hInfo
;
vInfo
.
cbSize
=
hInfo
.
cbSize
=
sizeof
(
SCROLLINFO
);
vInfo
.
nMin
=
vMin
;
vInfo
.
nMax
=
vMax
;
vInfo
.
nPos
=
vPos
;
hInfo
.
nMin
=
hMin
;
hInfo
.
nMax
=
hMax
;
hInfo
.
nPos
=
hPos
;
vInfo
.
fMask
=
hInfo
.
fMask
=
SIF_RANGE
|
SIF_POS
;
SCROLL_SetScrollInfo
(
hwnd
,
SB_VERT
,
&
vInfo
,
TRUE
);
SCROLL_SetScrollInfo
(
hwnd
,
SB_HORZ
,
&
hInfo
,
TRUE
);
return
0
;
}
/*************************************************************************
* GetScrollRange (USER32.@)
*
* Gets the range of the scroll bar.
...
...
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