Changeset 9572 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Dec 31, 2002, 5:52:00 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r9550 r9572 1 /* $Id: win32wbase.cpp,v 1.34 7 2002-12-28 09:30:55sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.348 2002-12-31 16:52:00 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 771 771 if (cs->cx < minTrack.x) cs->cx = minTrack.x; 772 772 if (cs->cy < minTrack.y) cs->cy = minTrack.y; 773 } 774 775 if(cs->style & WS_CHILD) 776 { 777 if(cs->cx < 0) cs->cx = 0; 778 if(cs->cy < 0) cs->cy = 0; 779 } 780 else 781 { 782 if (cs->cx <= 0) cs->cx = 1; 783 if (cs->cy <= 0) cs->cy = 1; 773 if (cs->cx < 0) cs->cx = 0; 774 if (cs->cy < 0) cs->cy = 0; 784 775 } 785 776 … … 858 849 } 859 850 } 851 860 852 if (getStyle() & (WS_MINIMIZE | WS_MAXIMIZE)) 861 853 { … … 1765 1757 WPARAM wp = SIZE_RESTORED; 1766 1758 1759 //According to Wine these are always sent, but experiments in Windows NT4, SP6 1760 //show otherwise 1767 1761 if (!(wpos->flags & SWP_NOMOVE) && !(wpos->flags & SWP_NOCLIENTMOVE)) 1768 1762 { 1769 1763 SendMessageA(getWindowHandle(),WM_MOVE, 0, MAKELONG(rectClient.left,rectClient.top)); 1770 1764 } 1765 //According to Wine these are always sent, but experiments in Windows NT4, SP6 1766 //show otherwise 1771 1767 if (!(wpos->flags & SWP_NOSIZE) && !(wpos->flags & SWP_NOCLIENTSIZE)) 1772 1768 { … … 2492 2488 } 2493 2489 /* TODO: Check hwndInsertAfter */ 2494 2495 2490 #endif 2496 2491
Note:
See TracChangeset
for help on using the changeset viewer.