Ignore:
Timestamp:
Apr 2, 2001, 7:30:58 PM (24 years ago)
Author:
sandervl
Message:

DS_CONTROL fix + workaround for file open dialog in showwindow

File:
1 edited

Legend:

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

    r5429 r5440  
    1 /* $Id: win32wbase.cpp,v 1.248 2001-04-01 22:13:27 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.249 2001-04-02 17:30:58 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    14251425        {
    14261426            setStyle(getStyle() | WS_VISIBLE);
     1427            dprintf(("Enable window update for %x", getWindowHandle()));
    14271428            OSLibWinEnableWindowUpdate(OS2Hwnd,TRUE);
    14281429        }
     
    14321433            {
    14331434                setStyle(getStyle() & ~WS_VISIBLE);
     1435                dprintf(("Disable window update for %x", getWindowHandle()));
    14341436                OSLibWinEnableWindowUpdate(OS2Hwnd,FALSE);
    14351437            }
     
    22942296        SendInternalMessageA(WM_MOVE,0,MAKELONG(rectClient.left,rectClient.top));
    22952297    }
     2298//testestest
     2299    //temporary workaround for file dialogs with template dialog child
     2300    //they don't redraw when switching directories
     2301    //For some reason the new child's (syslistview32) update rectangle stays
     2302    //empty after its parent is made visible with ShowWindow
     2303    //TODO: find real cause
     2304    if(!wasVisible) {
     2305        InvalidateRect(getWindowHandle(), NULL, TRUE);
     2306    }
     2307//testestest
    22962308END:
    22972309    fMinMaxChange = FALSE;
Note: See TracChangeset for help on using the changeset viewer.