Ignore:
Timestamp:
Jul 18, 1999, 12:39:52 PM (26 years ago)
Author:
sandervl
Message:

Lots of changes

File:
1 edited

Legend:

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

    r324 r325  
    1 /* $Id: pmwindow.cpp,v 1.7 1999-07-17 18:30:51 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.8 1999-07-18 10:39:51 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    2323#include "oslibwin.h"
    2424#include "oslibutil.h"
     25#include "oslibgdi.h"
    2526
    2627HMQ  hmq = 0;                             /* Message queue handle         */
     
    4142  {
    4243        UINT error;
    43 
    4444        //CB: only fail on real error
    4545        error = WinGetLastError(hab) & 0xFFFF; //error code
     
    164164    case WM_MOVE:
    165165    {
    166       RECTL rectChild;
     166      RECTLOS2 rectChild;
    167167      ULONG xParent, yParent;
    168168
    169169        dprintf(("OS2: WM_MOVE %x", hwnd));
    170170
    171         WinQueryWindowRect(hwnd, &rectChild);
     171        WinQueryWindowRect(hwnd, (PRECTL)&rectChild);
    172172
    173173        //Calculate position relative to parent window (real window or desktop)
     
    346346        break;
    347347
     348    case WM_SETWINDOWPARAMS:
     349    {
     350      WNDPARAMS *wndParams = (WNDPARAMS *)mp1;
     351
     352        dprintf(("OS2: WM_SETWINDOWPARAMS %x", hwnd));
     353        if(wndParams->fsStatus & WPM_TEXT) {
     354                if(win32wnd->MsgSetText(wndParams->pszText, wndParams->cchText)) {
     355                        goto RunDefWndProc;
     356                }
     357        }
     358        goto RunDefWndProc;
     359    }
     360
    348361    case WM_PAINT:
    349362        dprintf(("OS2: WM_PAINT %x", hwnd));
     
    358371
    359372    case WM_CALCVALIDRECTS:
    360     case WM_SETWINDOWPARAMS:
    361373    case WM_QUERYWINDOWPARAMS:
    362374    case WM_HITTEST:
Note: See TracChangeset for help on using the changeset viewer.