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
b73d53c0
Commit
b73d53c0
authored
Jun 26, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixed problems with disappearing text.
parent
3c1ebcce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
listview.c
dlls/comctl32/listview.c
+15
-3
No files found.
dlls/comctl32/listview.c
View file @
b73d53c0
...
...
@@ -3050,6 +3050,11 @@ static LRESULT LISTVIEW_GetColumnA(HWND hwnd, INT nItem, LPLVCOLUMNA lpColumn)
{
lpColumn
->
fmt
|=
LVCFMT_COL_HAS_IMAGES
;
}
if
(
hdi
.
fmt
&
HDF_BITMAP_ON_RIGHT
)
{
lpColumn
->
fmt
|=
LVCFMT_BITMAP_ON_RIGHT
;
}
}
if
(
lpColumn
->
mask
&
LVCF_WIDTH
)
...
...
@@ -3391,13 +3396,14 @@ static LRESULT LISTVIEW_GetItemA(HWND hwnd, LPLVITEMA lpLVItem)
{
if
(
dispInfo
.
item
.
mask
&
LVIF_DI_SETITEM
)
{
Str_SetPtrA
(
&
lpItem
->
pszText
,
dispInfo
.
item
.
pszText
);
if
(
lpSubItem
)
Str_SetPtrA
(
&
lpSubItem
->
pszText
,
dispInfo
.
item
.
pszText
);
}
lpLVItem
->
pszText
=
dispInfo
.
item
.
pszText
;
}
else
if
(
lpLVItem
->
mask
&
LVIF_TEXT
)
{
lpLVItem
->
pszText
=
lpItem
->
pszText
;
lpLVItem
->
pszText
=
lp
Sub
Item
->
pszText
;
}
}
}
...
...
@@ -4666,7 +4672,7 @@ static LRESULT LISTVIEW_SetColumnA(HWND hwnd, INT nColumn,
{
LISTVIEW_INFO
*
infoPtr
=
(
LISTVIEW_INFO
*
)
GetWindowLongA
(
hwnd
,
0
);
BOOL
bResult
=
FALSE
;
HDITEMA
hdi
;
HDITEMA
hdi
,
hdiget
;
if
((
lpColumn
!=
NULL
)
&&
(
nColumn
>=
0
)
&&
(
nColumn
<
Header_GetItemCount
(
infoPtr
->
hwndHeader
)))
...
...
@@ -4679,6 +4685,12 @@ static LRESULT LISTVIEW_SetColumnA(HWND hwnd, INT nColumn,
/* format member is valid */
hdi
.
mask
|=
HDI_FORMAT
;
/* get current format first */
hdiget
.
mask
=
HDI_FORMAT
;
if
(
Header_GetItemA
(
infoPtr
->
hwndHeader
,
nColumn
,
&
hdiget
))
/* preserve HDF_STRING if present */
hdi
.
fmt
=
hdiget
.
fmt
&
HDF_STRING
;
/* set text alignment (leftmost column must be left-aligned) */
if
(
nColumn
==
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