Changeset 196 for trunk/src


Ignore:
Timestamp:
Jun 25, 1999, 11:35:27 PM (26 years ago)
Author:
sandervl
Message:

Code for window message spy

Location:
trunk/src/user32
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/Makefile

    r171 r196  
    1 # $Id: Makefile,v 1.7 1999-06-23 22:39:01 phaller Exp $
     1# $Id: Makefile,v 1.8 1999-06-25 21:35:27 sandervl Exp $
    22
    33#
     
    2525        dlgconvert.obj icon.obj hook.obj hooks.obj menu.obj \
    2626        usrcall.obj defwndproc.obj syscolor.obj char.obj initterm.obj \
    27         uitools.obj unknown.obj
     27        uitools.obj unknown.obj spy.obj
    2828
    2929
     
    6868wndclass.obj: wndclass.cpp \
    6969              $(PDWIN32_INCLUDE)\wndproc.h $(PDWIN32_INCLUDE)\wndclass.h
    70 initterm.obj: initterm.cpp
     70initterm.obj: initterm.cpp $(PDWIN32_INCLUDE)\spy.h
    7171uitools.obj: uitools.cpp
    7272unknown.obj: unknown.cpp
     73
     74spy.obj: spy.cpp $(PDWIN32_INCLUDE)\spy.h
    7375
    7476
  • trunk/src/user32/wndclass.cpp

    r138 r196  
    1 /* $Id: wndclass.cpp,v 1.6 1999-06-21 00:21:26 buerkle Exp $ */
     1/* $Id: wndclass.cpp,v 1.7 1999-06-25 21:35:27 sandervl Exp $ */
    22
    33/*
     
    2222#include "wndclass.h"
    2323#include "hooks.h"
     24#include <spy.h>
    2425
    2526//default window handlers that are registered by RegisterClass are called
     
    801802
    802803#ifdef DEBUG
    803   dprintf(("OS2ToWinCallback for message %s", GetMsgText(Msg)));
     804  dprintf(("OS2ToWinCallback %s for %x %x %x", GetMsgText(Msg), hwnd, wParam, lParam));
     805  PostSpyMessage(hwnd, Msg, wParam, lParam);
    804806#endif
    805807
  • trunk/src/user32/wndproc.cpp

    r134 r196  
    1 /* $Id: wndproc.cpp,v 1.6 1999-06-20 16:47:39 sandervl Exp $ */
     1/* $Id: wndproc.cpp,v 1.7 1999-06-25 21:35:27 sandervl Exp $ */
    22
    33/*
     
    2323#include "dlgconvert.h"
    2424#include "hooks.h"
     25#include <spy.h>
    2526
    2627#ifdef DEBUG
     
    288289  if(curwnd != NULL) {
    289290#ifdef DEBUG
    290         WriteLog("***************Message %s for window/dialog %X\n", GetMsgText(Msg), hwnd);
     291        WriteLog("Message %s for %X %x %x\n", GetMsgText(Msg), hwnd, wParam, lParam);
     292        PostSpyMessage(hwnd, Msg, wParam, lParam);
    291293#endif
    292294        switch(Msg)
Note: See TracChangeset for help on using the changeset viewer.