Ignore:
Timestamp:
Jan 20, 2000, 5:48:58 PM (26 years ago)
Author:
cbratschi
Message:

WM_CONTEXTMENU, sysmenu changes

File:
1 edited

Legend:

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

    r2469 r2483  
    1 /* $Id: oslibwin.cpp,v 1.61 2000-01-18 20:10:43 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.62 2000-01-20 16:48:55 cbratschi Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    612612        point.x = x;
    613613        point.y = y;
    614         if(hParent)
     614
     615        if (hParent)
    615616        {
    616                 WinMapWindowPoints(hParent, HWND_DESKTOP, &point, 1);
    617         }
    618         point.y = ScreenHeight-point.y-cy;
     617          RECTL parentRect;
     618
     619          WinQueryWindowRect(hParent,&parentRect);
     620          point.y = parentRect.yTop-point.y-cy;
     621        } else point.y = ScreenHeight-point.y-cy;
    619622
    620623        x  = point.x;
Note: See TracChangeset for help on using the changeset viewer.