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
292d8429
Commit
292d8429
authored
Mar 06, 2003
by
Adam Gundy
Committed by
Alexandre Julliard
Mar 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TREEVIEW_UpdateScrollBars() now copes with an empty tree.
parent
d4fcc4bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
treeview.c
dlls/comctl32/treeview.c
+9
-0
No files found.
dlls/comctl32/treeview.c
View file @
292d8429
...
...
@@ -2690,6 +2690,8 @@ TREEVIEW_UpdateScrollBars(TREEVIEW_INFO *infoPtr)
if
(
vert
)
{
si
.
nPage
=
TREEVIEW_GetVisibleCount
(
infoPtr
);
if
(
si
.
nPage
)
{
si
.
nPos
=
infoPtr
->
firstVisible
->
visibleOrder
;
si
.
nMax
=
infoPtr
->
maxVisibleOrder
-
1
;
...
...
@@ -2705,6 +2707,13 @@ TREEVIEW_UpdateScrollBars(TREEVIEW_INFO *infoPtr)
ShowScrollBar
(
hwnd
,
SB_VERT
,
FALSE
);
infoPtr
->
uInternalStatus
&=
~
TV_VSCROLL
;
}
}
else
{
if
(
infoPtr
->
uInternalStatus
&
TV_VSCROLL
)
ShowScrollBar
(
hwnd
,
SB_VERT
,
FALSE
);
infoPtr
->
uInternalStatus
&=
~
TV_VSCROLL
;
}
if
(
horz
)
{
...
...
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