Ignore:
Timestamp:
Oct 12, 1999, 4:47:24 PM (26 years ago)
Author:
sandervl
Message:

MDI fix, extra message support etc

File:
1 edited

Legend:

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

    r1227 r1256  
    1 /* $Id: pmwindow.cpp,v 1.24 1999-10-09 15:36:58 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.25 1999-10-12 14:47:22 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    183183  }
    184184  if(msg > WIN32APP_USERMSGBASE) {
    185     //win32 app user message
    186     dprintf(("PMWINDOW: Message %x (%x,%x) posted to window %x", (ULONG)msg-WIN32APP_USERMSGBASE, mp1, mp2, hwnd));
    187         win32wnd->SendMessageA((ULONG)msg-WIN32APP_USERMSGBASE, (ULONG)mp1, (ULONG)mp2);
     185        //win32 app user message
     186        return (MRESULT)win32wnd->SendMessageA((ULONG)msg-WIN32APP_USERMSGBASE, (ULONG)mp1, (ULONG)mp2);
    188187  }
    189188  switch( msg )
     
    574573
    575574        //OS/2 Window coordinates -> Win32 Window coordinates
    576         //NOTE: Do not call the default OS/2 window handler as that one changes
    577         //      the mousepointer!
    578         win32wnd->MsgMouseMove(keystate, SHORT1FROMMP(mp1), MapOS2ToWin32Y(win32wnd, SHORT2FROMMP(mp1)));
     575        if(win32wnd->MsgMouseMove(keystate, SHORT1FROMMP(mp1), MapOS2ToWin32Y(win32wnd, SHORT2FROMMP(mp1))))
     576    {
     577        //Changes mouse cursor to default
     578            goto RunDefWndProc;
     579    }
    579580        break;
    580581    }
Note: See TracChangeset for help on using the changeset viewer.