Ignore:
Timestamp:
Feb 27, 2003, 3:22:45 PM (22 years ago)
Author:
sandervl
Message:

PF: Illegal PM sequence of maximizing from icon state corrected. Inter-thread controls change caused PM lockups. Rewrote PM window frame controls manipulation procedure

File:
1 edited

Legend:

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

    r9818 r9866  
    1 /* $Id: win32wbase.cpp,v 1.359 2003-02-17 13:40:11 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.360 2003-02-27 14:22:44 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    37603760                setExStyle(ss.styleNew);
    37613761                SendMessageA(getWindowHandle(),WM_STYLECHANGED,GWL_EXSTYLE,(LPARAM)&ss);
    3762                 OSLibSetWindowStyle(getOS2FrameWindowHandle(), getOS2WindowHandle(), getStyle(), getExStyle());
     3762
     3763                OSLibSetWindowStyle(getOS2FrameWindowHandle(), getOS2WindowHandle(),
     3764                                    getStyle(), getExStyle(),ss.styleOld);
     3765
    37633766                oldval = ss.styleOld;
    37643767                break;
     
    37673770        {
    37683771                STYLESTRUCT ss;
    3769 
     3772 
    37703773                //SvL: TODO: Can you change minimize or maximize status here too?
    37713774
     
    37823785                setStyle(ss.styleNew);
    37833786                SendMessageA(getWindowHandle(),WM_STYLECHANGED,GWL_STYLE,(LPARAM)&ss);
    3784                 OSLibSetWindowStyle(getOS2FrameWindowHandle(), getOS2WindowHandle(),
    3785                                     getStyle(), getExStyle());
     3787
     3788                 OSLibSetWindowStyle(getOS2FrameWindowHandle(), getOS2WindowHandle(),
     3789                                    getStyle(), getExStyle(),ss.styleOld);
    37863790
    37873791                //TODO: Might not be correct to use ShowWindow here
Note: See TracChangeset for help on using the changeset viewer.