Ignore:
Timestamp:
Jul 4, 2000, 10:42:07 AM (25 years ago)
Author:
sandervl
Message:

Rewrote Set/GetViewportExtEx, Set/GetMapMode & moved them from gdi32 to user32 + titlebar fix

File:
1 edited

Legend:

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

    r3789 r3800  
    1 /* $Id: win32wbase.cpp,v 1.205 2000-07-02 14:31:34 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.206 2000-07-04 08:42:07 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    22912291    swp.hwnd = OS2Hwnd;
    22922292
    2293     dprintf (("WinSetWindowPos %x %x (%d,%d)(%d,%d) %x", swp.hwnd, swp.hwndInsertBehind, swp.x, swp.y, swp.cx, swp.cy, swp.fl));
    2294     rc = OSLibWinSetMultWindowPos(&swp, 1);
    2295 
    22962293    if(fuFlags & SWP_SHOWWINDOW && !IsWindowVisible()) {
    22972294        setStyle(getStyle() | WS_VISIBLE);
    22982295        if(hTaskList) {
     2296                dprintf(("Adding window %x to tasklist", getWindowHandle()));
    22992297                OSLibWinChangeTaskList(hTaskList, OS2Hwnd, getWindowNameA(), (getStyle() & WS_VISIBLE) ? 1 : 0);
    23002298        }
     
    23042302        setStyle(getStyle() & ~WS_VISIBLE);
    23052303        if(hTaskList) {
     2304                dprintf(("Removing window %x from tasklist", getWindowHandle()));
    23062305                OSLibWinChangeTaskList(hTaskList, OS2Hwnd, getWindowNameA(), (getStyle() & WS_VISIBLE) ? 1 : 0);
    23072306        }
    23082307    }
     2308    dprintf (("WinSetWindowPos %x %x (%d,%d)(%d,%d) %x", swp.hwnd, swp.hwndInsertBehind, swp.x, swp.y, swp.cx, swp.cy, swp.fl));
     2309    rc = OSLibWinSetMultWindowPos(&swp, 1);
     2310
    23092311    if(rc == FALSE)
    23102312    {
Note: See TracChangeset for help on using the changeset viewer.