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
ae6efdd4
Commit
ae6efdd4
authored
Jun 17, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Silence some noisy traces.
parent
ec3f8a76
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
menu.c
dlls/user32/tests/menu.c
+2
-2
win.c
dlls/user32/tests/win.c
+0
-7
No files found.
dlls/user32/tests/menu.c
View file @
ae6efdd4
...
...
@@ -172,7 +172,7 @@ static LRESULT WINAPI menu_ownerdraw_wnd_proc(HWND hwnd, UINT msg,
case
WM_MEASUREITEM
:
{
MEASUREITEMSTRUCT
*
pmis
=
(
MEASUREITEMSTRUCT
*
)
lparam
;
if
(
winetest_debug
)
if
(
winetest_debug
>
1
)
trace
(
"WM_MEASUREITEM received data %lx size %dx%d
\n
"
,
pmis
->
itemData
,
pmis
->
itemWidth
,
pmis
->
itemHeight
);
ok
(
!
wparam
,
"wrong wparam %lx
\n
"
,
wparam
);
...
...
@@ -191,7 +191,7 @@ static LRESULT WINAPI menu_ownerdraw_wnd_proc(HWND hwnd, UINT msg,
SIZE
sz
;
int
i
;
pdis
=
(
DRAWITEMSTRUCT
*
)
lparam
;
if
(
winetest_debug
)
{
if
(
winetest_debug
>
1
)
{
RECT
rc
;
GetMenuItemRect
(
hwnd
,
(
HMENU
)
pdis
->
hwndItem
,
pdis
->
itemData
,
&
rc
);
trace
(
"WM_DRAWITEM received hwnd %p hmenu %p itemdata %ld item %d rc %d,%d-%d,%d itemrc: %d,%d-%d,%d
\n
"
,
...
...
dlls/user32/tests/win.c
View file @
ae6efdd4
...
...
@@ -1643,12 +1643,7 @@ static LRESULT WINAPI mdi_child_wnd_proc_1(HWND hwnd, UINT msg, WPARAM wparam, L
style
=
GetWindowLongA
(
hwnd
,
GWL_STYLE
);
exstyle
=
GetWindowLongA
(
hwnd
,
GWL_EXSTYLE
);
GetWindowRect
(
client
,
&
rc
);
trace
(
"MDI client %p window size = (%d x %d)
\n
"
,
client
,
rc
.
right
-
rc
.
left
,
rc
.
bottom
-
rc
.
top
);
GetClientRect
(
client
,
&
rc
);
trace
(
"MDI client %p client size = (%d x %d)
\n
"
,
client
,
rc
.
right
,
rc
.
bottom
);
trace
(
"screen size: %d x %d
\n
"
,
GetSystemMetrics
(
SM_CXSCREEN
),
GetSystemMetrics
(
SM_CYSCREEN
));
GetClientRect
(
client
,
&
rc
);
if
((
style
&
WS_CAPTION
)
==
WS_CAPTION
)
...
...
@@ -6276,7 +6271,6 @@ static LRESULT CALLBACK fullscreen_wnd_proc(HWND hwnd, UINT msg, WPARAM wp, LPAR
case
WM_NCCREATE
:
{
CREATESTRUCTA
*
cs
=
(
CREATESTRUCTA
*
)
lp
;
trace
(
"WM_NCCREATE: rect %d,%d-%d,%d
\n
"
,
cs
->
x
,
cs
->
y
,
cs
->
cx
,
cs
->
cy
);
ok
(
cs
->
x
==
mi
.
rcMonitor
.
left
&&
cs
->
y
==
mi
.
rcMonitor
.
top
&&
cs
->
cx
==
mi
.
rcMonitor
.
right
&&
cs
->
cy
==
mi
.
rcMonitor
.
bottom
,
"expected %d,%d-%d,%d, got %d,%d-%d,%d
\n
"
,
...
...
@@ -6287,7 +6281,6 @@ static LRESULT CALLBACK fullscreen_wnd_proc(HWND hwnd, UINT msg, WPARAM wp, LPAR
case
WM_GETMINMAXINFO
:
{
MINMAXINFO
*
minmax
=
(
MINMAXINFO
*
)
lp
;
dump_minmax_info
(
minmax
);
ok
(
minmax
->
ptMaxPosition
.
x
<=
mi
.
rcMonitor
.
left
,
"%d <= %d
\n
"
,
minmax
->
ptMaxPosition
.
x
,
mi
.
rcMonitor
.
left
);
ok
(
minmax
->
ptMaxPosition
.
y
<=
mi
.
rcMonitor
.
top
,
"%d <= %d
\n
"
,
minmax
->
ptMaxPosition
.
y
,
mi
.
rcMonitor
.
top
);
ok
(
minmax
->
ptMaxSize
.
x
>=
mi
.
rcMonitor
.
right
,
"%d >= %d
\n
"
,
minmax
->
ptMaxSize
.
x
,
mi
.
rcMonitor
.
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