Changeset 3341 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Apr 7, 2000, 2:55:16 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r3284 r3341 1 /* $Id: win32wbase.cpp,v 1.17 6 2000-03-31 14:42:48 cbratschiExp $ */1 /* $Id: win32wbase.cpp,v 1.177 2000-04-07 12:55:16 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1026 1026 1027 1027 //// mapWin32Rect(getParent() ? getParent()->getOS2WindowHandle():OSLIB_HWND_DESKTOP,OS2HwndFrame,&client); 1028 if ((rect.left >= client.left) && (rect.left < client.right) && 1029 (rect.right >= client.left) && (rect.right < client.right) && 1030 (rect.top >= client.top) && (rect.top < client.bottom) && 1031 (rect.bottom >= client.top) && (rect.bottom < client.bottom)) 1032 return 0; 1033 1034 dprintf(("MsgNCPaint (%d,%d)(%d,%d)", rect.left, rect.top, rect.right, rect.bottom)); 1035 hrgn = CreateRectRgnIndirect(&rect); 1036 if (!hrgn) return 0; 1037 rc = SendInternalMessageA(WM_NCPAINT,hrgn,0); 1038 DeleteObject(hrgn); 1039 1040 return rc; 1041 } 1042 else return 0; 1028 if ((rect.left >= client.left) && (rect.left < client.right) && 1029 (rect.right >= client.left) && (rect.right < client.right) && 1030 (rect.top >= client.top) && (rect.top < client.bottom) && 1031 (rect.bottom >= client.top) && (rect.bottom < client.bottom)) 1032 { 1033 return 0; 1034 } 1035 1036 dprintf(("MsgNCPaint (%d,%d)(%d,%d)", rect.left, rect.top, rect.right, rect.bottom)); 1037 hrgn = CreateRectRgnIndirect(&rect); 1038 if (!hrgn) return 0; 1039 1040 rc = SendInternalMessageA(WM_NCPAINT,hrgn,0); 1041 1042 DeleteObject(hrgn); 1043 1044 return rc; 1045 } 1046 else return 0; 1043 1047 } 1044 1048 //****************************************************************************** … … 1295 1299 if ((dwStyle & WS_CAPTION) == WS_CAPTION) 1296 1300 { 1297 HandleNCPaint((HRGN)1);1301 // HandleNCPaint((HRGN)1); 1298 1302 OSLibWinSetWindowText(OS2HwndFrame,(LPSTR)windowNameA); 1299 1303 }
Note:
See TracChangeset
for help on using the changeset viewer.