Changeset 2426 for trunk/src/user32/new/win32wbasenonclient.cpp
- Timestamp:
- Jan 13, 2000, 2:54:55 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wbasenonclient.cpp
r2411 r2426 1 /* $Id: win32wbasenonclient.cpp,v 1. 3 2000-01-11 18:32:07 cbratschiExp $ */1 /* $Id: win32wbasenonclient.cpp,v 1.4 2000-01-13 13:54:54 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 (non-client methods) … … 586 586 width = GetSystemMetrics(SM_CXDLGFRAME) - GetSystemMetrics(SM_CXEDGE); 587 587 height = GetSystemMetrics(SM_CYDLGFRAME) - GetSystemMetrics(SM_CYEDGE); 588 } else 588 } 589 else 589 590 { 590 591 width = GetSystemMetrics(SM_CXFRAME) - GetSystemMetrics(SM_CXEDGE); … … 595 596 596 597 /* Draw frame */ 597 598 PatBlt(hdc,rect->left,rect->top,rect->right-rect->left,height,PATCOPY); 599 PatBlt(hdc,rect->left,rect->top,width,rect->bottom-rect->top,PATCOPY); 600 PatBlt(hdc,rect->left,rect->bottom-1,rect->right-rect->left,-height,PATCOPY); 601 PatBlt(hdc,rect->right-1,rect->top,-width,rect->bottom-rect->top,PATCOPY); 598 PatBlt(hdc,rect->left, rect->top, rect->right-rect->left, height,PATCOPY); 599 PatBlt(hdc,rect->left, rect->top, width, rect->bottom-rect->top,PATCOPY); 600 PatBlt(hdc,rect->left, rect->bottom, rect->right-rect->left,-height,PATCOPY); 601 //SvL: Was PatBlt(hdc,rect->left, rect->bottom-1, rect->right-rect->left,-height,PATCOPY); 602 PatBlt(hdc,rect->right, rect->top, -width, rect->bottom-rect->top,PATCOPY); 603 //SvL: Was PatBlt(hdc,rect->right-1, rect->top, -width, rect->bottom-rect->top,PATCOPY); 602 604 SelectObject(hdc,oldBrush); 603 605 … … 1144 1146 1145 1147 case SC_MOVE: 1146 FrameTrackFrame(this,TFOS_MOVE);1147 break;1148 FrameTrackFrame(this,TFOS_MOVE); 1149 break; 1148 1150 1149 1151 case SC_MINIMIZE:
Note:
See TracChangeset
for help on using the changeset viewer.