Ignore:
Timestamp:
Jan 3, 2000, 9:53:50 PM (26 years ago)
Author:
cbratschi
Message:

ported all USER32 bitmaps, several bug fixes

File:
1 edited

Legend:

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

    r2294 r2309  
    1 /* $Id: win32wbase.cpp,v 1.20 2000-01-02 20:20:02 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.21 2000-01-03 20:53:50 cbratschi Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    536536        vertScrollInfo->flags  = ESB_ENABLE_BOTH;
    537537  }
    538 #if 0 //CB: PM frame not yet created!
     538
    539539  /* Send the WM_GETMINMAXINFO message and fix the size if needed */
    540540  if ((cs->style & WS_THICKFRAME) || !(cs->style & (WS_POPUP | WS_CHILD)))
     
    546546        if (cs->cy < minTrack.y ) cs->cy = minTrack.y;
    547547  }
    548 #endif
     548
    549549  if(cs->style & WS_CHILD)
    550550  {
     
    611611                                 (hwndLinkAfter == HWND_BOTTOM) ? TRUE : FALSE,
    612612                                 &OS2HwndFrame, 0, fTaskList);
    613 
    614613  if(OS2Hwnd == 0) {
    615614        dprintf(("Window creation failed!!"));
     
    13541353    return;
    13551354  state = GetMenuState(hSysMenu, SC_CLOSE, MF_BYCOMMAND);
    1356 #endif 
     1355#endif
    13571356  /* If the item close of the sysmenu is disabled or not there do nothing */
    13581357  if((state & MF_DISABLED) || (state & MF_GRAYED) || (state == 0xFFFFFFFF))
     
    13921391      {
    13931392        if( !(dwStyle & WS_MINIMIZE) )
    1394         {
     1393        {
    13951394          HDC hDC = GetWindowDC(Win32Hwnd);
    13961395          DrawSysButton(hDC,TRUE);
    1397           ReleaseDC(Win32Hwnd,hDC);
    1398         }
    1399         SendInternalMessageA(WM_SYSCOMMAND,SC_MOUSEMENU+HTSYSMENU,lParam);
     1396          ReleaseDC(Win32Hwnd,hDC);
     1397        }
     1398        SendInternalMessageA(WM_SYSCOMMAND,SC_MOUSEMENU+HTSYSMENU,lParam);
    14001399      }
    14011400      break;
     
    14151414    case HTMINBUTTON:
    14161415    case HTMAXBUTTON:
    1417       TrackMinMaxBox(wParam);   
     1416      TrackMinMaxBox(wParam);
    14181417      break;
    14191418
Note: See TracChangeset for help on using the changeset viewer.