Ignore:
Timestamp:
Mar 31, 2001, 12:08:20 AM (24 years ago)
Author:
sandervl
Message:

syscolor change + iconsm creation in RegisterClassA/W

File:
1 edited

Legend:

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

    r5404 r5406  
    1 /* $Id: window.cpp,v 1.90 2001-03-30 11:14:36 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.91 2001-03-30 22:08:20 sandervl Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    155155           dprintf(("CreateWindowEx32W: bad class name %04x",LOWORD(className)));
    156156       else
    157            dprintf(("CreateWindowEx32W: bad class name '%x'", className));
     157           dprintf(("CreateWindowEx32W: bad class name '%ls'", className));
    158158
    159159       SetLastError(ERROR_INVALID_PARAMETER);
     
    290290    }
    291291
    292     dprintf(("USER32:  CreateMDIWindowW\n"));
    293292    cs.szClass        = lpszClassName;
    294293    cs.szTitle        = lpszWindowName;
     
    300299    cs.style          = dwStyle;
    301300    cs.lParam         = lParam;
     301
     302    if(HIWORD(lpszClassName)) {
     303         dprintf(("CreateMDIWindowW: class %ls parent %x (%d,%d) (%d,%d), %x %x lParam=%x", lpszClassName, hwndParent, x, y, nWidth, nHeight, dwStyle, lParam));
     304    }
     305    else dprintf(("CreateMDIWindowW: class %d parent %x (%d,%d) (%d,%d), %x %x lParam=%x", lpszClassName, hwndParent, x, y, nWidth, nHeight, dwStyle, lParam));
    302306
    303307    return window->SendMessageW(WM_MDICREATE, 0, (LPARAM)&cs);
     
    839843#ifdef DEBUG
    840844    int rc = window->GetWindowTextW(lpsz, cch);
    841     if(rc) {
    842         LPSTR astring = UnicodeToAsciiString(lpsz);
    843         dprintf(("GetWindowTextW %x %s", hwnd, lpsz));
    844         free(astring);
    845     }
    846     else dprintf(("GetWindowTextW %x returned %d", hwnd, rc));
     845    dprintf(("GetWindowTextW %x %ls", hwnd, lpsz));
    847846    return rc;
    848847#else
     
    877876        return 0;
    878877    }
    879 #ifdef DEBUG
    880     LPSTR astring = UnicodeToAsciiString(lpsz);
    881     dprintf(("SetWindowTextW %x %s", hwnd, astring));
    882     free(astring);
    883 #endif
     878    dprintf(("SetWindowTextW %x %ls", hwnd, lpsz));
    884879    return window->SetWindowTextW((LPWSTR)lpsz);
    885880}
Note: See TracChangeset for help on using the changeset viewer.