Commit 5ffac098 authored by Duane Clark's avatar Duane Clark Committed by Alexandre Julliard

Add tracing messages to MDI.

parent cce19caa
...@@ -95,6 +95,7 @@ ...@@ -95,6 +95,7 @@
#include "win.h" #include "win.h"
#include "nonclient.h" #include "nonclient.h"
#include "controls.h" #include "controls.h"
#include "message.h"
#include "user.h" #include "user.h"
#include "struct32.h" #include "struct32.h"
#include "wine/debug.h" #include "wine/debug.h"
...@@ -1013,7 +1014,7 @@ static LRESULT MDIClientWndProc_common( HWND hwnd, UINT message, ...@@ -1013,7 +1014,7 @@ static LRESULT MDIClientWndProc_common( HWND hwnd, UINT message,
{ {
MDICLIENTINFO *ci; MDICLIENTINFO *ci;
TRACE("%p %04x %08x %08lx\n", hwnd, message, wParam, lParam); TRACE("%p %04x (%s) %08x %08lx\n", hwnd, message, SPY_GetMsgName(message, hwnd), wParam, lParam);
if (!(ci = get_client_info( hwnd ))) return 0; if (!(ci = get_client_info( hwnd ))) return 0;
...@@ -1293,7 +1294,7 @@ LRESULT WINAPI DefFrameProcW( HWND hwnd, HWND hwndMDIClient, ...@@ -1293,7 +1294,7 @@ LRESULT WINAPI DefFrameProcW( HWND hwnd, HWND hwndMDIClient,
{ {
MDICLIENTINFO *ci = get_client_info( hwndMDIClient ); MDICLIENTINFO *ci = get_client_info( hwndMDIClient );
TRACE("%p %p %04x %08x %08lx\n", hwnd, hwndMDIClient, message, wParam, lParam); TRACE("%p %p %04x (%s) %08x %08lx\n", hwnd, hwndMDIClient, message, SPY_GetMsgName(message, hwnd), wParam, lParam);
if (ci) if (ci)
{ {
...@@ -1390,7 +1391,7 @@ LRESULT WINAPI DefMDIChildProcA( HWND hwnd, UINT message, ...@@ -1390,7 +1391,7 @@ LRESULT WINAPI DefMDIChildProcA( HWND hwnd, UINT message,
HWND client = GetParent(hwnd); HWND client = GetParent(hwnd);
MDICLIENTINFO *ci = get_client_info( client ); MDICLIENTINFO *ci = get_client_info( client );
TRACE("%p %04x %08x %08lx\n", hwnd, message, wParam, lParam); TRACE("%p %04x (%s) %08x %08lx\n", hwnd, message, SPY_GetMsgName(message, hwnd), wParam, lParam);
hwnd = WIN_GetFullHandle( hwnd ); hwnd = WIN_GetFullHandle( hwnd );
if (!ci) return DefWindowProcA( hwnd, message, wParam, lParam ); if (!ci) return DefWindowProcA( hwnd, message, wParam, lParam );
...@@ -1428,7 +1429,7 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message, ...@@ -1428,7 +1429,7 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
HWND client = GetParent(hwnd); HWND client = GetParent(hwnd);
MDICLIENTINFO *ci = get_client_info( client ); MDICLIENTINFO *ci = get_client_info( client );
TRACE("%p %04x %08x %08lx\n", hwnd, message, wParam, lParam); TRACE("%p %04x (%s) %08x %08lx\n", hwnd, message, SPY_GetMsgName(message, hwnd), wParam, lParam);
hwnd = WIN_GetFullHandle( hwnd ); hwnd = WIN_GetFullHandle( hwnd );
if (!ci) return DefWindowProcW( hwnd, message, wParam, lParam ); if (!ci) return DefWindowProcW( hwnd, message, wParam, lParam );
......
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