Changeset 1965 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Dec 4, 1999, 1:04:19 AM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/win32wbase.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r1949 r1965 1 /* $Id: win32wbase.cpp,v 1.10 2 1999-12-02 19:30:40sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.103 1999-12-04 00:04:19 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1669 1669 return 1; 1670 1670 } 1671 case WM_PAINTICON: 1672 case WM_PAINT: 1673 { 1674 PAINTSTRUCT ps; 1675 HDC hdc = BeginPaint(getWindowHandle(), &ps ); 1676 if( hdc ) 1677 { 1678 if( (getStyle() & WS_MINIMIZE) && getWindowClass()->getIcon()) 1679 { 1680 int x = (rectWindow.right - rectWindow.left - GetSystemMetrics(SM_CXICON))/2; 1681 int y = (rectWindow.bottom - rectWindow.top - GetSystemMetrics(SM_CYICON))/2; 1682 dprintf(("Painting class icon: vis rect=(%i,%i - %i,%i)\n", ps.rcPaint.left, ps.rcPaint.top, ps.rcPaint.right, ps.rcPaint.bottom )); 1683 DrawIcon(hdc, x, y, getWindowClass()->getIcon() ); 1684 } 1685 EndPaint(getWindowHandle(), &ps ); 1686 } 1687 return 0; 1688 } 1689 1671 1690 case WM_GETDLGCODE: 1672 1691 return 0; … … 2612 2631 { 2613 2632 OSLibWinQueryWindowProcess(child->getOS2WindowHandle(), &pid, &tid); 2614 2633 2615 2634 if(dwThreadId == tid) { 2616 2635 dprintf2(("EnumThreadWindows: Found Window %x", child->getWindowHandle()));
Note:
See TracChangeset
for help on using the changeset viewer.
