Changeset 840 for trunk/src


Ignore:
Timestamp:
Sep 5, 1999, 7:14:03 PM (26 years ago)
Author:
sandervl
Message:

Filter out some very frequent messages (dprintf)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/new/win32wbase.cpp

    r836 r840  
    1 /* $Id: win32wbase.cpp,v 1.11 1999-09-05 15:59:36 dengert Exp $ */
     1/* $Id: win32wbase.cpp,v 1.12 1999-09-05 17:14:03 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    12001200LRESULT Win32BaseWindow::SendMessageA(ULONG Msg, WPARAM wParam, LPARAM lParam)
    12011201{
    1202   if(PostSpyMessage(getWindowHandle(), Msg, wParam, lParam) == FALSE)
    1203         dprintf(("SendMessageA %s for %x %x %x", GetMsgText(Msg), getWindowHandle(), wParam, lParam));
     1202  if(Msg != WM_GETDLGCODE && Msg != WM_ENTERIDLE) {//sent *very* often
     1203        if(PostSpyMessage(getWindowHandle(), Msg, wParam, lParam) == FALSE)
     1204            dprintf(("SendMessageA %s for %x %x %x", GetMsgText(Msg), getWindowHandle(), wParam, lParam));
     1205  }
    12041206
    12051207  if(HkCBT::OS2HkCBTProc(getWindowHandle(), Msg, wParam, lParam) == TRUE) {//hook swallowed msg
     
    12391241LRESULT Win32BaseWindow::SendMessageW(ULONG Msg, WPARAM wParam, LPARAM lParam)
    12401242{
    1241   if(PostSpyMessage(getWindowHandle(), Msg, wParam, lParam) == FALSE)
    1242         dprintf(("SendMessageA %s for %x %x %x", GetMsgText(Msg), getWindowHandle(), wParam, lParam));
     1243  if(Msg != WM_GETDLGCODE && Msg != WM_ENTERIDLE) {//sent *very* often
     1244        if(PostSpyMessage(getWindowHandle(), Msg, wParam, lParam) == FALSE)
     1245            dprintf(("SendMessageW %s for %x %x %x", GetMsgText(Msg), getWindowHandle(), wParam, lParam));
     1246  }
    12431247
    12441248  if(HkCBT::OS2HkCBTProc(getWindowHandle(), Msg, wParam, lParam) == TRUE) {//hook swallowed msg
Note: See TracChangeset for help on using the changeset viewer.