Changeset 4457 for trunk/src/user32/window.cpp
- Timestamp:
- Oct 8, 2000, 8:45:36 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/window.cpp
r4225 r4457 1 /* $Id: window.cpp,v 1.7 7 2000-09-08 18:08:58sandervl Exp $ */1 /* $Id: window.cpp,v 1.78 2000-10-08 18:45:36 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 907 907 } 908 908 //****************************************************************************** 909 //Calculate window rectangle based on given client rectangle, style, menu and extended style 909 910 //****************************************************************************** 910 911 BOOL WIN32API AdjustWindowRectEx( PRECT rect, DWORD style, BOOL menu, DWORD exStyle) 911 912 { 913 if(style == 0 && menu == FALSE && exStyle == 0) { 914 dprintf(("AdjustWindowRectEx %x %x %d (%d,%d)(%d,%d) -> no change required", style, exStyle, menu, rect->left, rect->top, rect->right, rect->bottom)); 915 return TRUE; //nothing needs to be changed (VERIFIED in NT 4) 916 } 912 917 dprintf(("AdjustWindowRectEx %x %x %d (%d,%d)(%d,%d)\n", style, exStyle, menu, rect->left, rect->top, rect->right, rect->bottom)); 913 914 if(style == 0 && menu == FALSE && exStyle == 0) {915 return TRUE; //nothing needs to be changed (VERIFIED in NT 4)916 }917 918 /* Correct the window style */ 918 919 if (!(style & (WS_POPUP | WS_CHILD))) /* Overlapped window */ … … 1355 1356 for (i = 0, winpos = pDWP->winPos; i < pDWP->actualCount; i++, winpos++) 1356 1357 { 1357 dprintf(("**EndDeferWindowPos %x (%d,%d) (%d,%d) %x", winpos->hwnd, winpos->x, winpos->y, winpos-> x, winpos->cy, winpos->flags));1358 dprintf(("**EndDeferWindowPos %x (%d,%d) (%d,%d) %x", winpos->hwnd, winpos->x, winpos->y, winpos->cx, winpos->cy, winpos->flags)); 1358 1359 if (!(res = SetWindowPos(winpos->hwnd, winpos->hwndInsertAfter, 1359 1360 winpos->x, winpos->y, winpos->cx,
Note:
See TracChangeset
for help on using the changeset viewer.