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
3e7b7104
Commit
3e7b7104
authored
Oct 09, 2002
by
Andrew M. Johnston
Committed by
Alexandre Julliard
Oct 09, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed reference to SCROLL_SetNCSbState.
parent
11d606db
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
15 deletions
+14
-15
mdi.c
windows/mdi.c
+14
-15
No files found.
windows/mdi.c
View file @
3e7b7104
...
...
@@ -1932,7 +1932,6 @@ void WINAPI CalcChildScroll( HWND hwnd, INT scroll )
{
SCROLLINFO
info
;
RECT
childRect
,
clientRect
;
INT
vmin
,
vmax
,
hmin
,
hmax
,
vpos
,
hpos
;
HWND
*
list
;
GetClientRect
(
hwnd
,
&
clientRect
);
...
...
@@ -1961,26 +1960,27 @@ void WINAPI CalcChildScroll( HWND hwnd, INT scroll )
}
UnionRect
(
&
childRect
,
&
clientRect
,
&
childRect
);
hmin
=
childRect
.
left
;
hmax
=
childRect
.
right
-
clientRect
.
right
;
hpos
=
clientRect
.
left
-
childRect
.
left
;
vmin
=
childRect
.
top
;
vmax
=
childRect
.
bottom
-
clientRect
.
bottom
;
vpos
=
clientRect
.
top
-
childRect
.
top
;
/* set common info values */
info
.
cbSize
=
sizeof
(
info
);
info
.
fMask
=
SIF_POS
|
SIF_RANGE
;
/* set the specific */
switch
(
scroll
)
{
case
SB_BOTH
:
case
SB_HORZ
:
vpos
=
hpos
;
vmin
=
hmin
;
vmax
=
hmax
;
info
.
nMin
=
childRect
.
left
;
info
.
nMax
=
childRect
.
right
-
clientRect
.
right
;
info
.
nPos
=
clientRect
.
left
-
childRect
.
left
;
SetScrollInfo
(
hwnd
,
scroll
,
&
info
,
TRUE
);
if
(
scroll
==
SB_HORZ
)
break
;
/* fall through */
case
SB_VERT
:
info
.
cbSize
=
sizeof
(
info
)
;
info
.
nMax
=
vmax
;
info
.
nMin
=
vmin
;
info
.
nPos
=
vpos
;
info
.
fMask
=
SIF_POS
|
SIF_RANGE
;
info
.
nMin
=
childRect
.
top
;
info
.
nMax
=
childRect
.
bottom
-
clientRect
.
bottom
;
info
.
nPos
=
clientRect
.
top
-
childRect
.
top
;
SetScrollInfo
(
hwnd
,
scroll
,
&
info
,
TRUE
);
break
;
case
SB_BOTH
:
SCROLL_SetNCSbState
(
hwnd
,
vmin
,
vmax
,
vpos
,
hmin
,
hmax
,
hpos
);
}
}
...
...
@@ -2249,4 +2249,3 @@ static void MDI_SwapMenuItems(HWND parent, UINT pos1, UINT pos2)
}
HeapFree
(
GetProcessHeap
(),
0
,
list
);
}
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