Ignore:
Timestamp:
Oct 8, 2000, 8:45:36 PM (25 years ago)
Author:
sandervl
Message:

ShowScrollbar fix (SB_BOTH didn't enable the vertical scrollbar)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/window.cpp

    r4225 r4457  
    1 /* $Id: window.cpp,v 1.77 2000-09-08 18:08:58 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.78 2000-10-08 18:45:36 sandervl Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    907907}
    908908//******************************************************************************
     909//Calculate window rectangle based on given client rectangle, style, menu and extended style
    909910//******************************************************************************
    910911BOOL WIN32API AdjustWindowRectEx( PRECT rect, DWORD style, BOOL menu, DWORD exStyle)
    911912{
     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    }
    912917    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     }
    917918    /* Correct the window style */
    918919    if (!(style & (WS_POPUP | WS_CHILD)))  /* Overlapped window */
     
    13551356    for (i = 0, winpos = pDWP->winPos; i < pDWP->actualCount; i++, winpos++)
    13561357    {
    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));
    13581359        if (!(res = SetWindowPos(winpos->hwnd, winpos->hwndInsertAfter,
    13591360                                 winpos->x, winpos->y, winpos->cx,
Note: See TracChangeset for help on using the changeset viewer.