Changeset 10496 for trunk/src


Ignore:
Timestamp:
Mar 9, 2004, 11:06:15 AM (21 years ago)
Author:
sandervl
Message:

added stress test case for drawing; more logging

Location:
trunk/src/user32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbasenonclient.cpp

    r10015 r10496  
    1 /* $Id: win32wbasenonclient.cpp,v 1.52 2003-04-11 15:45:13 sandervl Exp $ */
     1/* $Id: win32wbasenonclient.cpp,v 1.53 2004-03-09 10:06:15 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2 (non-client methods)
     
    13861386
    13871387    case SC_TASKLIST:
     1388// Stress case for drawing
     1389#if 0
     1390    {
     1391            for(int i=0;i<25000;i++)
     1392            {
     1393                MSG msg;
     1394
     1395                InvalidateRect(Win32Hwnd, 0, 1);
     1396                while(PeekMessageA(&msg, 0, 0, 0, TRUE) == TRUE)
     1397                {
     1398                    DispatchMessageA(&msg);
     1399                }
     1400            }
     1401    }
     1402#else
    13881403        OSLibWinShowTaskList(getOS2WindowHandle());
     1404#endif
    13891405        break;
    13901406
  • trunk/src/user32/window.cpp

    r10450 r10496  
    1 /* $Id: window.cpp,v 1.139 2004-02-11 15:37:39 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.140 2004-03-09 10:06:15 sandervl Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    113113
    114114    if(HIWORD(className)) {
    115          dprintf(("CreateWindowExA: class %s parent %x (%d,%d) (%d,%d), %x %x menu=%x", className, parent, x, y, width, height, style, exStyle, menu));
    116     }
    117     else dprintf(("CreateWindowExA: class %d parent %x (%d,%d) (%d,%d), %x %x menu=%x", className, parent, x, y, width, height, style, exStyle, menu));
     115         dprintf(("CreateWindowExA: window %s class %s parent %x (%d,%d) (%d,%d), %x %x menu=%x", windowName, className, parent, x, y, width, height, style, exStyle, menu));
     116    }
     117    else dprintf(("CreateWindowExA: window %s class %d parent %x (%d,%d) (%d,%d), %x %x menu=%x", windowName, className, parent, x, y, width, height, style, exStyle, menu));
    118118
    119119    if(!strcmpi(className, MDICLIENTCLASSNAMEA)) {
Note: See TracChangeset for help on using the changeset viewer.