Add tracing messages to MDI.

This commit is contained in:
Duane Clark 2004-04-26 20:05:01 +00:00 committed by Alexandre Julliard
parent cce19caacb
commit 5ffac0988e
1 changed files with 5 additions and 4 deletions

View File

@ -95,6 +95,7 @@
#include "win.h"
#include "nonclient.h"
#include "controls.h"
#include "message.h"
#include "user.h"
#include "struct32.h"
#include "wine/debug.h"
@ -1013,7 +1014,7 @@ static LRESULT MDIClientWndProc_common( HWND hwnd, UINT message,
{
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;
@ -1293,7 +1294,7 @@ LRESULT WINAPI DefFrameProcW( HWND hwnd, HWND 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)
{
@ -1390,7 +1391,7 @@ LRESULT WINAPI DefMDIChildProcA( HWND hwnd, UINT message,
HWND client = GetParent(hwnd);
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 );
if (!ci) return DefWindowProcA( hwnd, message, wParam, lParam );
@ -1428,7 +1429,7 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
HWND client = GetParent(hwnd);
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 );
if (!ci) return DefWindowProcW( hwnd, message, wParam, lParam );