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
8673f91b
Commit
8673f91b
authored
Jan 26, 2001
by
Guy L. Albertelli
Committed by
Alexandre Julliard
Jan 26, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- make hidden bands have valid (0 width) child window areas
- when hiding a band, don't show the window, hide it.
parent
e9936d96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
rebar.c
dlls/comctl32/rebar.c
+8
-2
No files found.
dlls/comctl32/rebar.c
View file @
8673f91b
...
...
@@ -576,7 +576,13 @@ REBAR_CalcHorzBand (HWND hwnd, REBAR_INFO *infoPtr, UINT rstart, UINT rend, BOOL
for
(
i
=
rstart
;
i
<
rend
;
i
++
){
lpBand
=
&
infoPtr
->
bands
[
i
];
if
(
HIDDENBAND
(
lpBand
))
continue
;
if
(
HIDDENBAND
(
lpBand
))
{
SetRect
(
&
lpBand
->
rcChild
,
lpBand
->
rcBand
.
right
,
lpBand
->
rcBand
.
top
,
lpBand
->
rcBand
.
right
,
lpBand
->
rcBand
.
bottom
);
continue
;
}
oldChild
=
lpBand
->
rcChild
;
/* set initial gripper rectangle */
...
...
@@ -2781,7 +2787,7 @@ REBAR_ShowBand (HWND hwnd, WPARAM wParam, LPARAM lParam)
TRACE
(
"hide band %d
\n
"
,
(
INT
)
wParam
);
lpBand
->
fStyle
=
lpBand
->
fStyle
|
RBBS_HIDDEN
;
if
(
IsWindow
(
lpBand
->
hwndChild
))
ShowWindow
(
lpBand
->
hwndChild
,
SW_
SHOW
);
ShowWindow
(
lpBand
->
hwndChild
,
SW_
HIDE
);
}
REBAR_Layout
(
hwnd
,
NULL
,
TRUE
,
FALSE
);
...
...
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