Changeset 5258 for trunk/src/user32/win32wbasepos.cpp
- Timestamp:
- Feb 23, 2001, 3:52:42 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbasepos.cpp
r5246 r5258 1 /* $Id: win32wbasepos.cpp,v 1.2 1 2001-02-22 18:18:59sandervl Exp $ */1 /* $Id: win32wbasepos.cpp,v 1.22 2001-02-23 14:52:42 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 (nonclient/position methods) … … 224 224 hwndParent = GetParent(hwnd); 225 225 if(hwndParent == 0) { 226 DebugInt3();226 dprintf(("WINPOS_FindIconPos: no parent found for window %x", hwnd)); 227 227 return; 228 228 } … … 269 269 if (!hwndChild) /* No window was found, so it's OK for us */ 270 270 { 271 272 273 274 } 275 271 pt.x = x + (xspacing - GetSystemMetrics(SM_CXICON)) / 2; 272 pt.y = y - (yspacing + GetSystemMetrics(SM_CYICON)) / 2; 273 return; 274 } 275 x += xspacing; 276 276 } while(x <= rectParent.right-xspacing); 277 277
Note:
See TracChangeset
for help on using the changeset viewer.