Changeset 1343 for trunk/src/user32/pmframe.cpp
- Timestamp:
- Oct 17, 1999, 9:32:05 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmframe.cpp
r1333 r1343 1 /* $Id: pmframe.cpp,v 1. 7 1999-10-17 12:17:44 cbratschi Exp $ */1 /* $Id: pmframe.cpp,v 1.8 1999-10-17 19:32:04 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 Frame Managment Code for OS/2 … … 92 92 BOOL CanDrawSizeBox(Win32BaseWindow *win32wnd) 93 93 { 94 return ( !win32wnd->isChild()&& WinQueryWindowULong(win32wnd->getOS2FrameWindowHandle(),QWL_STYLE) & FS_SIZEBORDER94 return (win32wnd->getStyle() & WS_SIZEBOX_W && WinQueryWindowULong(win32wnd->getOS2FrameWindowHandle(),QWL_STYLE) & FS_SIZEBORDER 95 95 && win32wnd->getVertScrollHandle() && WinQueryWindow(win32wnd->getVertScrollHandle(),QW_PARENT) == win32wnd->getOS2FrameWindowHandle() 96 96 && win32wnd->getHorzScrollHandle() && WinQueryWindow(win32wnd->getHorzScrollHandle(),QW_PARENT) == win32wnd->getOS2FrameWindowHandle()); … … 272 272 273 273 GetSizeBox(win32wnd,&rect); 274 hps = WinGetClipPS(hwnd,0,PSF_CLIPCHILDREN );274 hps = WinGetClipPS(hwnd,0,PSF_CLIPCHILDREN | PSF_CLIPSIBLINGS); 275 275 DrawSizeBox(hps,rect); 276 276 WinReleasePS(hps); … … 293 293 rect.yTop = rect.yTop-rect.yBottom; 294 294 rect.xLeft = rect.yBottom = 0; 295 hps = WinGetClipPS(hwnd,0,PSF_CLIPCHILDREN );295 hps = WinGetClipPS(hwnd,0,PSF_CLIPCHILDREN | PSF_CLIPSIBLINGS); 296 296 DrawFrame(hps,&rect,win32wnd); 297 297 WinReleasePS(hps); … … 318 318 319 319 GetSizeBox(win32wnd,&rect); 320 hps = WinGetClipPS(hwnd,0,PSF_CLIPCHILDREN );320 hps = WinGetClipPS(hwnd,0,PSF_CLIPCHILDREN | PSF_CLIPSIBLINGS); 321 321 DrawSizeBox(hps,rect); 322 322 WinReleasePS(hps); … … 338 338 rect.yTop = rect.yTop-rect.yBottom; 339 339 rect.xLeft = rect.yBottom = 0; 340 hps = WinGetClipPS(hwnd,0,PSF_CLIPCHILDREN );340 hps = WinGetClipPS(hwnd,0,PSF_CLIPCHILDREN | PSF_CLIPSIBLINGS); 341 341 DrawFrame(hps,&rect,win32wnd); 342 342 WinReleasePS(hps);
Note:
See TracChangeset
for help on using the changeset viewer.