Changeset 3373 for trunk/src


Ignore:
Timestamp:
Apr 13, 2000, 8:51:43 PM (25 years ago)
Author:
sandervl
Message:

* empty log message *

Location:
trunk/src/user32
Files:
2 edited

Legend:

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

    r3274 r3373  
    1 /* $Id: oslibmsg.cpp,v 1.31 2000-03-29 17:16:06 sandervl Exp $ */
     1/* $Id: oslibmsg.cpp,v 1.32 2000-04-13 18:50:44 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    180180        MsgThreadPtr->time = -1;
    181181        if(msg->hwnd) {
    182             thdb->nrOfMsgs = 1;
    183             thdb->msgstate++; //odd -> next call to our PM window handler should dispatch the translated msg
    184             memcpy(&thdb->msg, msg, sizeof(MSG));
     182                thdb->nrOfMsgs = 1;
     183                thdb->msgstate++; //odd -> next call to our PM window handler should dispatch the translated msg
     184                memcpy(&thdb->msg, msg, sizeof(MSG));
    185185        }
    186186        if(os2msg.hwnd || os2msg.msg == WM_QUIT) {
    187             return (LONG)WinDispatchMsg(thdb->hab, &os2msg);
     187                memset(MsgThreadPtr, 0, sizeof(*MsgThreadPtr));
     188                return (LONG)WinDispatchMsg(thdb->hab, &os2msg);
    188189        }
    189190        //SvL: Don't dispatch messages sent by PostThreadMessage (correct??)
  • trunk/src/user32/window.cpp

    r3119 r3373  
    1 /* $Id: window.cpp,v 1.59 2000-03-14 20:04:09 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.60 2000-04-13 18:50:44 sandervl Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    107107    cs.dwExStyle      = exStyle;
    108108    if(HIWORD(className)) {
    109          dprintf(("CreateWindowExA: class %s parent %x (%d,%d) (%d,%d), %x %x", className, parent, x, y, width, height, style, exStyle));
    110     }
    111     else dprintf(("CreateWindowExA: class %d parent %x (%d,%d) (%d,%d), %x %x", className, parent, x, y, width, height, style, exStyle));
     109         dprintf(("CreateWindowExA: class %s parent %x (%d,%d) (%d,%d), %x %x menu=%x", className, parent, x, y, width, height, style, exStyle, menu));
     110    }
     111    else dprintf(("CreateWindowExA: class %d parent %x (%d,%d) (%d,%d), %x %x menu=%x", className, parent, x, y, width, height, style, exStyle, menu));
    112112
    113113    if(!strcmpi(className, MDICLIENTCLASSNAMEA)) {
     
    372372    window = Win32BaseWindow::GetWindowFromHandle(hwnd);
    373373    if(!window) {
    374         dprintf(("IsChild, window %x not found", hwnd));
     374        dprintf(("IsChild %x, window %x not found", hwndParent, hwnd));
    375375        SetLastError(ERROR_INVALID_WINDOW_HANDLE);
    376376        return 0;
Note: See TracChangeset for help on using the changeset viewer.