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
6ae29d6a
Commit
6ae29d6a
authored
Jul 02, 2001
by
Guy L. Albertelli
Committed by
Alexandre Julliard
Jul 02, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RBBS_FIXEDSIZE should not affect _AdjustBands (found by Mike McCormack
in WinZip).
parent
aa62953b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
rebar.c
dlls/comctl32/rebar.c
+8
-8
No files found.
dlls/comctl32/rebar.c
View file @
6ae29d6a
...
...
@@ -18,7 +18,7 @@
#define PROBLEM2 0
/*
* Rebar control rev 7
d
* Rebar control rev 7
e
*
* Copyright 1998, 1999 Eric Kohl
*
...
...
@@ -78,6 +78,9 @@
* rows, and fills in the background color for each band. The gripper,
* image, and text for each band is drawn by the WM_PAINT process. Change
* this code to match.
* rev 7e
* 16. RBBS_FIXEDSIZE should not affect _AdjustBands. (Found by Mike McCormack
* in WinZip - Thanks!)
*
*
* Still to do:
...
...
@@ -594,8 +597,7 @@ REBAR_AdjustBands (REBAR_INFO *infoPtr, UINT rowstart, UINT rowend,
/* ******************* Phase 1 ************************ */
/* Alg: */
/* For each visible band with valid child and not */
/* RBBS_FIXEDSIZE: */
/* For each visible band with valid child */
/* a. inflate band till either all extra space used */
/* or band's ->ccx reached. */
/* If any band modified, add any space left to last band */
...
...
@@ -619,9 +621,7 @@ REBAR_AdjustBands (REBAR_INFO *infoPtr, UINT rowstart, UINT rowend,
lpBand
->
rcBand
.
left
=
x
+
xsep
;
/* compute new width */
if
(
!
(
lpBand
->
fStyle
&
RBBS_FIXEDSIZE
)
&&
lpBand
->
hwndChild
&&
extra
)
{
if
(
lpBand
->
hwndChild
&&
extra
)
{
/* set to the "current" band size less the header */
fudge
=
lpBand
->
ccx
;
last_adjusted
=
i
;
...
...
@@ -687,7 +687,7 @@ REBAR_AdjustBands (REBAR_INFO *infoPtr, UINT rowstart, UINT rowend,
/* ******************* Phase 2 ************************ */
/* Alg: */
/* Find first visible band
not RBBS_FIXEDSIZE, put all
*/
/* Find first visible band
, put all
*/
/* extra space there. */
/* */
/* ****************************************************** */
...
...
@@ -706,7 +706,7 @@ REBAR_AdjustBands (REBAR_INFO *infoPtr, UINT rowstart, UINT rowend,
lpBand
->
rcBand
.
left
=
x
+
xsep
;
/* compute new width */
if
(
!
(
lpBand
->
fStyle
&
RBBS_FIXEDSIZE
)
&&
extra
)
{
if
(
extra
)
{
curwidth
+=
extra
;
extra
=
0
;
}
...
...
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