Changeset 2435 for trunk/src/user32/new/win32wbase.cpp
- Timestamp:
- Jan 14, 2000, 2:16:59 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wbase.cpp
r2433 r2435 1 /* $Id: win32wbase.cpp,v 1. 39 2000-01-13 20:11:37sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.40 2000-01-14 13:16:58 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1082 1082 RECT oldWindowRect = rectWindow, client = rectClient, newWindowRect; 1083 1083 WINDOWPOS wndPos; 1084 ULONG rc; 1084 1085 1085 1086 if(lpWndPos) { 1086 1087 //set new window rectangle 1087 1088 setWindowRect(lpWndPos->x, lpWndPos->y, lpWndPos->x + lpWndPos->cx, lpWndPos->y + lpWndPos->cy); 1088 newWindowRect 1089 newWindowRect= rectWindow; 1089 1090 } 1090 1091 else { 1091 wndPos.hwnd = Win32Hwnd;1092 wndPos.hwnd = getWindowHandle(); 1092 1093 wndPos.hwndInsertAfter = 0; 1093 1094 newWindowRect= rectWindow; … … 1098 1099 wndPos.cy = newWindowRect.bottom - newWindowRect.top; 1099 1100 wndPos.flags = SWP_FRAMECHANGED; 1100 lpWndPos = &wndPos; 1101 } 1102 1103 return SendNCCalcSize(TRUE, &oldWindowRect, &newWindowRect, &client, &wndPos, &rectClient); 1101 lpWndPos = &wndPos; 1102 } 1103 1104 rc = SendNCCalcSize(TRUE, &newWindowRect, &oldWindowRect, &client, lpWndPos, &rectClient); 1105 1106 dprintf(("MsgFormatFrame: old client rect (%d,%d)(%d,%d), new client (%d,%d)(%d,%d)", client.left, client.top, client.right, client.bottom, rectClient.left, rectClient.top, rectClient.right, rectClient.bottom)); 1107 return rc; 1104 1108 } 1105 1109 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.