Commit f8ce7ed9 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/tests: Remove useless message tracing.

parent e90418d3
...@@ -276,8 +276,6 @@ static void test_WM_LBUTTONDOWN(void) ...@@ -276,8 +276,6 @@ static void test_WM_LBUTTONDOWN(void)
GetLastError()); GetLastError());
hList = cbInfo.hwndList; hList = cbInfo.hwndList;
trace("hWnd=%p, hComboEx=%p, hCombo=%p, hList=%p, hEdit=%p\n",
hComboExParentWnd, hComboEx, hCombo, hList, hEdit);
ok(GetFocus() == hComboExParentWnd, ok(GetFocus() == hComboExParentWnd,
"Focus not on Main Window, instead on %p\n", GetFocus()); "Focus not on Main Window, instead on %p\n", GetFocus());
......
...@@ -140,8 +140,6 @@ static LRESULT WINAPI datetime_subclass_proc(HWND hwnd, UINT message, WPARAM wPa ...@@ -140,8 +140,6 @@ static LRESULT WINAPI datetime_subclass_proc(HWND hwnd, UINT message, WPARAM wPa
LRESULT ret; LRESULT ret;
struct message msg; struct message msg;
trace("datetime: %p, %04x, %08lx, %08lx\n", hwnd, message, wParam, lParam);
msg.message = message; msg.message = message;
msg.flags = sent|wparam|lparam; msg.flags = sent|wparam|lparam;
if (defwndproc_counter) msg.flags |= defwinproc; if (defwndproc_counter) msg.flags |= defwinproc;
......
...@@ -403,7 +403,6 @@ static LRESULT WINAPI header_subclass_proc(HWND hwnd, UINT message, WPARAM wPara ...@@ -403,7 +403,6 @@ static LRESULT WINAPI header_subclass_proc(HWND hwnd, UINT message, WPARAM wPara
LRESULT ret; LRESULT ret;
struct message msg; struct message msg;
trace("header: %p, %04x, %08lx, %08lx\n", hwnd, message, wParam, lParam);
msg.message = message; msg.message = message;
msg.flags = sent|wparam|lparam; msg.flags = sent|wparam|lparam;
if (defwndproc_counter) msg.flags |= defwinproc; if (defwndproc_counter) msg.flags |= defwinproc;
...@@ -435,8 +434,6 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP ...@@ -435,8 +434,6 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP
message != WM_DEVICECHANGE) message != WM_DEVICECHANGE)
{ {
trace("parent: %p, %04x, %08lx, %08lx\n", hwnd, message, wParam, lParam);
msg.message = message; msg.message = message;
msg.flags = sent|wparam|lparam; msg.flags = sent|wparam|lparam;
if (defwndproc_counter) msg.flags |= defwinproc; if (defwndproc_counter) msg.flags |= defwinproc;
......
...@@ -395,8 +395,6 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP ...@@ -395,8 +395,6 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP
message != WM_GETICON && message != WM_GETICON &&
message != WM_DEVICECHANGE) message != WM_DEVICECHANGE)
{ {
trace("parent: %p, %04x, %08lx, %08lx\n", hwnd, message, wParam, lParam);
add_message(sequences, PARENT_SEQ_INDEX, &msg); add_message(sequences, PARENT_SEQ_INDEX, &msg);
add_message(sequences, COMBINED_SEQ_INDEX, &msg); add_message(sequences, COMBINED_SEQ_INDEX, &msg);
} }
...@@ -583,8 +581,6 @@ static LRESULT WINAPI listview_subclass_proc(HWND hwnd, UINT message, WPARAM wPa ...@@ -583,8 +581,6 @@ static LRESULT WINAPI listview_subclass_proc(HWND hwnd, UINT message, WPARAM wPa
LRESULT ret; LRESULT ret;
struct message msg; struct message msg;
trace("listview: %p, %04x, %08lx, %08lx\n", hwnd, message, wParam, lParam);
/* some debug output for style changing */ /* some debug output for style changing */
if ((message == WM_STYLECHANGING || if ((message == WM_STYLECHANGING ||
message == WM_STYLECHANGED) && lParam) message == WM_STYLECHANGED) && lParam)
...@@ -661,8 +657,6 @@ static LRESULT WINAPI header_subclass_proc(HWND hwnd, UINT message, WPARAM wPara ...@@ -661,8 +657,6 @@ static LRESULT WINAPI header_subclass_proc(HWND hwnd, UINT message, WPARAM wPara
LRESULT ret; LRESULT ret;
struct message msg; struct message msg;
trace("header: %p, %04x, %08lx, %08lx\n", hwnd, message, wParam, lParam);
msg.message = message; msg.message = message;
msg.flags = sent|wparam|lparam; msg.flags = sent|wparam|lparam;
if (defwndproc_counter) msg.flags |= defwinproc; if (defwndproc_counter) msg.flags |= defwinproc;
...@@ -1754,8 +1748,8 @@ static LRESULT WINAPI cd_wndproc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) ...@@ -1754,8 +1748,8 @@ static LRESULT WINAPI cd_wndproc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp)
if(msg == WM_NOTIFY) { if(msg == WM_NOTIFY) {
NMHDR *nmhdr = (PVOID)lp; NMHDR *nmhdr = (PVOID)lp;
if(nmhdr->code == NM_CUSTOMDRAW) { if(nmhdr->code == NM_CUSTOMDRAW) {
NMLVCUSTOMDRAW *nmlvcd = (PVOID)nmhdr; NMLVCUSTOMDRAW *nmlvcd = (NMLVCUSTOMDRAW*)nmhdr;
trace("NMCUSTOMDRAW (0x%.8x)\n", nmlvcd->nmcd.dwDrawStage);
switch(nmlvcd->nmcd.dwDrawStage) { switch(nmlvcd->nmcd.dwDrawStage) {
case CDDS_PREPAINT: case CDDS_PREPAINT:
SetBkColor(nmlvcd->nmcd.hdc, c0ffee); SetBkColor(nmlvcd->nmcd.hdc, c0ffee);
......
...@@ -459,8 +459,6 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP ...@@ -459,8 +459,6 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP
message != WM_GETICON && message != WM_GETICON &&
message != WM_DEVICECHANGE) message != WM_DEVICECHANGE)
{ {
trace("parent: %p, %04x, %08lx, %08lx\n", hwnd, message, wParam, lParam);
msg.message = message; msg.message = message;
msg.flags = sent|wparam|lparam; msg.flags = sent|wparam|lparam;
if (defwndproc_counter) msg.flags |= defwinproc; if (defwndproc_counter) msg.flags |= defwinproc;
...@@ -881,7 +879,6 @@ static void test_firstDay(void) ...@@ -881,7 +879,6 @@ static void test_firstDay(void)
/* check for locale first day */ /* check for locale first day */
if(GetLocaleInfoA(lcid, LOCALE_IFIRSTDAYOFWEEK, b, 128)){ if(GetLocaleInfoA(lcid, LOCALE_IFIRSTDAYOFWEEK, b, 128)){
fday = atoi(b); fday = atoi(b);
trace("fday: %d\n", fday);
res = SendMessage(hwnd, MCM_GETFIRSTDAYOFWEEK, 0, 0); res = SendMessage(hwnd, MCM_GETFIRSTDAYOFWEEK, 0, 0);
expect(fday, res); expect(fday, res);
prev = fday; prev = fday;
...@@ -1975,7 +1972,6 @@ static void test_sel_notify(void) ...@@ -1975,7 +1972,6 @@ static void test_sel_notify(void)
for(i = 0; i < sizeof styles / sizeof styles[0]; i++) for(i = 0; i < sizeof styles / sizeof styles[0]; i++)
{ {
trace("%s\n", styles[i].name);
hwnd = create_monthcal_control(styles[i].val); hwnd = create_monthcal_control(styles[i].val);
SetWindowLongPtr(hwnd, GWLP_ID, SEL_NOTIFY_TEST_ID); SetWindowLongPtr(hwnd, GWLP_ID, SEL_NOTIFY_TEST_ID);
assert(hwnd); assert(hwnd);
......
...@@ -74,8 +74,6 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP ...@@ -74,8 +74,6 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP
message != WM_GETICON && message != WM_GETICON &&
message != WM_DEVICECHANGE) message != WM_DEVICECHANGE)
{ {
trace("parent: %p, %04x, %08lx, %08lx\n", hwnd, message, wParam, lParam);
msg.message = message; msg.message = message;
msg.flags = sent|wparam|lparam|parent; msg.flags = sent|wparam|lparam|parent;
if (defwndproc_counter) msg.flags |= defwinproc; if (defwndproc_counter) msg.flags |= defwinproc;
...@@ -124,8 +122,6 @@ static LRESULT WINAPI pager_subclass_proc(HWND hwnd, UINT message, WPARAM wParam ...@@ -124,8 +122,6 @@ static LRESULT WINAPI pager_subclass_proc(HWND hwnd, UINT message, WPARAM wParam
WNDPROC oldproc = (WNDPROC)GetWindowLongPtrA(hwnd, GWLP_USERDATA); WNDPROC oldproc = (WNDPROC)GetWindowLongPtrA(hwnd, GWLP_USERDATA);
struct message msg; struct message msg;
trace("pager: %p, %04x, %08lx, %08lx\n", hwnd, message, wParam, lParam);
msg.message = message; msg.message = message;
msg.flags = sent|wparam|lparam; msg.flags = sent|wparam|lparam;
msg.wParam = wParam; msg.wParam = wParam;
......
...@@ -667,8 +667,6 @@ static void save_message(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, ...@@ -667,8 +667,6 @@ static void save_message(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam,
(message < WM_MOUSEFIRST || message > WM_MOUSEHWHEEL) && (message < WM_MOUSEFIRST || message > WM_MOUSEHWHEEL) &&
message != 0x90) message != 0x90)
{ {
/*trace("check_message: %04x, %04x\n", message, receiver);*/
msg.message = message; msg.message = message;
msg.flags = sent|wparam|lparam|id; msg.flags = sent|wparam|lparam|id;
msg.wParam = wParam; msg.wParam = wParam;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment