Changeset 2335 for trunk/src/user32/new/win32wbasepos.cpp
- Timestamp:
- Jan 5, 2000, 10:25:08 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wbasepos.cpp
r2292 r2335 1 /* $Id: win32wbasepos.cpp,v 1. 2 2000-01-02 19:30:45cbratschi Exp $ */1 /* $Id: win32wbasepos.cpp,v 1.3 2000-01-05 21:25:08 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 (nonclient/position methods) … … 172 172 result = SendInternalMessageA(WM_NCCALCSIZE, calcValidRect, 173 173 (LPARAM)¶ms ); 174 *newClientRect = params.rgrc[0]; 174 if (calcValidRect) 175 { 176 /* If the application send back garbage, ignore it */ 177 if (params.rgrc[2].left <= params.rgrc[2].right && params.rgrc[2].top <= params.rgrc[2].bottom) 178 *newClientRect = params.rgrc[2]; 179 else 180 SetRectEmpty(newClientRect); 181 } 182 175 183 return result; 176 184 }
Note:
See TracChangeset
for help on using the changeset viewer.