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
e1a0a66f
Commit
e1a0a66f
authored
Sep 22, 2010
by
Austin Lund
Committed by
Alexandre Julliard
Sep 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Default listview width appears to be 1 inch.
parent
bb0cefd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
listview.c
dlls/comctl32/tests/listview.c
+8
-2
No files found.
dlls/comctl32/tests/listview.c
View file @
e1a0a66f
...
...
@@ -3269,6 +3269,7 @@ static void test_getitemrect(void)
LVCOLUMNA
col
;
INT
order
[
2
];
POINT
pt
;
HDC
hdc
;
/* rectangle isn't empty for empty text items */
hwnd
=
create_listview_control
(
LVS_LIST
);
...
...
@@ -3282,7 +3283,9 @@ static void test_getitemrect(void)
expect
(
TRUE
,
r
);
expect
(
0
,
rect
.
left
);
expect
(
0
,
rect
.
top
);
todo_wine
expect
(
96
,
rect
.
right
);
hdc
=
GetDC
(
hwnd
);
todo_wine
expect
(
GetDeviceCaps
(
hdc
,
LOGPIXELSX
),
rect
.
right
);
ReleaseDC
(
hwnd
,
hdc
);
DestroyWindow
(
hwnd
);
hwnd
=
create_listview_control
(
LVS_REPORT
);
...
...
@@ -4110,6 +4113,7 @@ static void test_getcolumnwidth(void)
DWORD_PTR
style
;
LVCOLUMNA
col
;
LVITEMA
itema
;
HDC
hdc
;
/* default column width */
hwnd
=
create_listview_control
(
LVS_ICON
);
...
...
@@ -4133,7 +4137,9 @@ static void test_getcolumnwidth(void)
memset
(
&
itema
,
0
,
sizeof
(
itema
));
SendMessage
(
hwnd
,
LVM_INSERTITEMA
,
0
,
(
LPARAM
)
&
itema
);
ret
=
SendMessage
(
hwnd
,
LVM_GETCOLUMNWIDTH
,
0
,
0
);
todo_wine
expect
(
96
,
ret
);
hdc
=
GetDC
(
hwnd
);
todo_wine
expect
(
GetDeviceCaps
(
hdc
,
LOGPIXELSX
),
ret
);
ReleaseDC
(
hwnd
,
hdc
);
DestroyWindow
(
hwnd
);
}
...
...
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