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
47bc142d
Commit
47bc142d
authored
Jun 14, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: Get rid of Header_* macros.
parent
caa91dcb
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 @
47bc142d
...
...
@@ -7194,7 +7194,7 @@ static BOOL LISTVIEW_SetColumnT(const LISTVIEW_INFO *infoPtr, INT nColumn,
{
hdi
.
mask
|=
HDI_FORMAT
;
hdiget
.
mask
=
HDI_FORMAT
;
if
(
Header_GetItemW
(
infoPtr
->
hwndHeader
,
nColumn
,
&
hdiget
))
if
(
SendMessageW
(
infoPtr
->
hwndHeader
,
HDM_GETITEMW
,
nColumn
,
(
LPARAM
)
&
hdiget
))
hdi
.
fmt
=
hdiget
.
fmt
&
HDF_STRING
;
}
column_fill_hditem
(
infoPtr
,
&
hdi
,
nColumn
,
lpColumn
,
isW
);
...
...
@@ -7330,7 +7330,7 @@ static BOOL LISTVIEW_SetColumnWidth(LISTVIEW_INFO *infoPtr, INT nColumn, INT cx)
hdi
.
mask
=
HDI_TEXT
;
hdi
.
cchTextMax
=
DISP_TEXT_SIZE
;
hdi
.
pszText
=
szDispText
;
if
(
Header_GetItemW
(
infoPtr
->
hwndHeader
,
nColumn
,
&
hdi
))
if
(
SendMessageW
(
infoPtr
->
hwndHeader
,
HDM_GETITEMW
,
nColumn
,
(
LPARAM
)
&
hdi
))
{
HDC
hdc
=
GetDC
(
infoPtr
->
hwndSelf
);
HFONT
old_font
=
SelectObject
(
hdc
,
(
HFONT
)
SendMessageW
(
infoPtr
->
hwndHeader
,
WM_GETFONT
,
0
,
0
));
...
...
@@ -7352,7 +7352,7 @@ static BOOL LISTVIEW_SetColumnWidth(LISTVIEW_INFO *infoPtr, INT nColumn, INT cx)
hdi
.
mask
=
HDI_WIDTH
;
hdi
.
cxy
=
cx
;
TRACE
(
"hdi.cxy=%d
\n
"
,
hdi
.
cxy
);
return
Header_SetItemW
(
infoPtr
->
hwndHeader
,
nColumn
,
&
hdi
);
return
SendMessageW
(
infoPtr
->
hwndHeader
,
HDM_SETITEMW
,
nColumn
,
(
LPARAM
)
&
hdi
);
}
/***
...
...
@@ -9258,7 +9258,7 @@ static LRESULT LISTVIEW_HeaderNotification(LISTVIEW_INFO *infoPtr, const NMHEADE
HDITEMW
hdi
;
hdi
.
mask
=
HDI_WIDTH
;
if
(
!
Header_GetItemW
(
infoPtr
->
hwndHeader
,
lpnmh
->
iItem
,
&
hdi
))
return
0
;
if
(
!
SendMessageW
(
infoPtr
->
hwndHeader
,
HDM_GETITEMW
,
lpnmh
->
iItem
,
(
LPARAM
)
&
hdi
))
return
0
;
cxy
=
hdi
.
cxy
;
}
else
...
...
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