Changeset 2309 for trunk/src/user32/new/win32wbase.cpp
- Timestamp:
- Jan 3, 2000, 9:53:50 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wbase.cpp
r2294 r2309 1 /* $Id: win32wbase.cpp,v 1.2 0 2000-01-02 20:20:02 sandervlExp $ */1 /* $Id: win32wbase.cpp,v 1.21 2000-01-03 20:53:50 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 536 536 vertScrollInfo->flags = ESB_ENABLE_BOTH; 537 537 } 538 #if 0 //CB: PM frame not yet created! 538 539 539 /* Send the WM_GETMINMAXINFO message and fix the size if needed */ 540 540 if ((cs->style & WS_THICKFRAME) || !(cs->style & (WS_POPUP | WS_CHILD))) … … 546 546 if (cs->cy < minTrack.y ) cs->cy = minTrack.y; 547 547 } 548 #endif 548 549 549 if(cs->style & WS_CHILD) 550 550 { … … 611 611 (hwndLinkAfter == HWND_BOTTOM) ? TRUE : FALSE, 612 612 &OS2HwndFrame, 0, fTaskList); 613 614 613 if(OS2Hwnd == 0) { 615 614 dprintf(("Window creation failed!!")); … … 1354 1353 return; 1355 1354 state = GetMenuState(hSysMenu, SC_CLOSE, MF_BYCOMMAND); 1356 #endif 1355 #endif 1357 1356 /* If the item close of the sysmenu is disabled or not there do nothing */ 1358 1357 if((state & MF_DISABLED) || (state & MF_GRAYED) || (state == 0xFFFFFFFF)) … … 1392 1391 { 1393 1392 if( !(dwStyle & WS_MINIMIZE) ) 1394 1393 { 1395 1394 HDC hDC = GetWindowDC(Win32Hwnd); 1396 1395 DrawSysButton(hDC,TRUE); 1397 1398 1399 1396 ReleaseDC(Win32Hwnd,hDC); 1397 } 1398 SendInternalMessageA(WM_SYSCOMMAND,SC_MOUSEMENU+HTSYSMENU,lParam); 1400 1399 } 1401 1400 break; … … 1415 1414 case HTMINBUTTON: 1416 1415 case HTMAXBUTTON: 1417 TrackMinMaxBox(wParam); 1416 TrackMinMaxBox(wParam); 1418 1417 break; 1419 1418
Note:
See TracChangeset
for help on using the changeset viewer.