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
3bc93806
Commit
3bc93806
authored
Jan 14, 2005
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Jan 14, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the LVCFMT_{LEFT,RIGHT,CENTER} enumeration flags properly.
parent
b08f9581
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
listview.c
dlls/comctl32/listview.c
+4
-4
No files found.
dlls/comctl32/listview.c
View file @
3bc93806
...
...
@@ -253,7 +253,7 @@ typedef struct tagLISTVIEW_INFO
BOOL
bRedraw
;
/* Turns on/off repaints & invalidations */
BOOL
bAutoarrange
;
/* Autoarrange flag when NOT in LVS_AUTOARRANGE */
BOOL
bFocus
;
BOOL
bDoChangeNotify
;
/* send change notification messages? */
BOOL
bDoChangeNotify
;
/* send change notification messages? */
INT
nFocusedItem
;
RECT
rcFocus
;
DWORD
dwStyle
;
/* the cached window GWL_STYLE */
...
...
@@ -6294,11 +6294,11 @@ static void column_fill_hditem(LISTVIEW_INFO *infoPtr, HDITEMW *lphdi, INT nColu
lphdi
->
mask
|=
HDI_FORMAT
;
/* set text alignment (leftmost column must be left-aligned) */
if
(
nColumn
==
0
||
lpColumn
->
fmt
&
LVCFMT_LEFT
)
if
(
nColumn
==
0
||
(
lpColumn
->
fmt
&
LVCFMT_JUSTIFYMASK
)
==
LVCFMT_LEFT
)
lphdi
->
fmt
|=
HDF_LEFT
;
else
if
(
lpColumn
->
fmt
&
LVCFMT_RIGHT
)
else
if
(
(
lpColumn
->
fmt
&
LVCFMT_JUSTIFYMASK
)
==
LVCFMT_RIGHT
)
lphdi
->
fmt
|=
HDF_RIGHT
;
else
if
(
lpColumn
->
fmt
&
LVCFMT_CENTER
)
else
if
(
(
lpColumn
->
fmt
&
LVCFMT_JUSTIFYMASK
)
==
LVCFMT_CENTER
)
lphdi
->
fmt
|=
HDF_CENTER
;
if
(
lpColumn
->
fmt
&
LVCFMT_BITMAP_ON_RIGHT
)
...
...
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