Changeset 6043 for trunk/src


Ignore:
Timestamp:
Jun 18, 2001, 11:00:50 AM (24 years ago)
Author:
sandervl
Message:

sizegrip & sizebox scrollbar size fixes

Location:
trunk/src/user32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/USER32.DEF

    r6019 r6043  
    1 ; $Id: USER32.DEF,v 1.58 2001-06-15 14:07:21 sandervl Exp $
     1; $Id: USER32.DEF,v 1.59 2001-06-18 09:00:50 sandervl Exp $
    22
    33LIBRARY USER32 INITINSTANCE TERMINSTANCE
     
    305305    GetPriorityClipboardFormat  = _GetPriorityClipboardFormat@8 @276
    306306    GetProcessWindowStation    = _GetProcessWindowStation@0  @277
    307     GetProgmanWindow           = _GetProgmanWindow@0                 ;@289
     307    GetProgmanWindow           = _GetProgmanWindow@0         @1289
    308308    GetPropA                   = _GetPropA@8                 @278
    309309    GetPropW                   = _GetPropW@8                 @279
    310310    GetQueueStatus             = _GetQueueStatus@4           @280
     311    GetScrollBarInfo           = _GetScrollBarInfo@12        @1281
    311312    GetScrollInfo              = _GetScrollInfo@12           @281
    312313    GetScrollPos               = _GetScrollPos@8             @282
     
    320321    GetTabbedTextExtentA       = _GetTabbedTextExtentA@20    @290
    321322    GetTabbedTextExtentW       = _GetTabbedTextExtentW@20    @291
    322     GetTaskmanWindow           = _GetTaskmanWindow@0                  ;@304
     323    GetTaskmanWindow           = _GetTaskmanWindow@0         @1304
    323324    GetThreadDesktop           = _GetThreadDesktop@4         @292
    324325    GetTopWindow               = _GetTopWindow@4             @293
     
    375376    IsDlgButtonChecked         = _IsDlgButtonChecked@8       @344
    376377    IsHungThread               = _IsHungThread@4             @345
    377     IsHungAppWindow            = _IsHungAppWindow@8
     378    IsHungAppWindow            = _IsHungAppWindow@8          @1345
    378379    IsIconic                   = _IsIconic@4                 @346
    379380    IsMenu                     = _IsMenu@4                   @347
     
    522523    SetParent                  = _SetParent@8                @489
    523524    SetProcessWindowStation    = _SetProcessWindowStation@4  @490
    524     SetProgmanWindow           = _SetProgmanWindow@4                 ;@522 ?
     525    SetProgmanWindow           = _SetProgmanWindow@4         @1522
    525526    SetPropA                   = _SetPropA@12                @491
    526527    SetPropW                   = _SetPropW@12                @492
     
    531532    SetScrollRange             = _SetScrollRange@20          @497
    532533    SetShellWindow             = _SetShellWindow@4           @498
    533     SetShellWindowEx           = _SetShellWindowEx@8                 ;@531 ?
     534    SetShellWindowEx           = _SetShellWindowEx@8         @1531
    534535    SetSysColors               = _SetSysColors@12            @499
    535536    SetSysColorsTemp           = _SetSysColorsTemp@0         @500
    536537    SetSystemCursor            = _SetSystemCursor@8          @501
    537     SetTaskmanWindow           = _SetTaskmanWindow@4                 ;@537
     538    SetTaskmanWindow           = _SetTaskmanWindow@4         @1537
    538539    SetThreadDesktop           = _SetThreadDesktop@4         @502
    539540    SetTimer                   = _SetTimer@16                @503
  • trunk/src/user32/scroll.cpp

    r6040 r6043  
    1 /* $Id: scroll.cpp,v 1.40 2001-06-17 21:08:00 sandervl Exp $ */
     1/* $Id: scroll.cpp,v 1.41 2001-06-18 09:00:50 sandervl Exp $ */
    22/*
    33 * Scrollbar control
     
    679679
    680680      w = GetSystemMetrics(SM_CXVSCROLL);
     681#ifdef __WIN32OS2__
     682      if(lpCreat->style & (SBS_SIZEBOX | SBS_SIZEGRIP)) {
     683           h = GetSystemMetrics(SM_CYHSCROLL);
     684      }
     685      else h = lpCreat->cy;
     686#else
    681687      h = lpCreat->cy;
    682 
     688#endif
    683689      if (lpCreat->style & SBS_LEFTALIGN)
    684690        MoveWindow(hwnd,lpCreat->x,lpCreat->y,w,h,FALSE);
     
    689695      INT w,h;
    690696
     697#ifdef __WIN32OS2__
     698      if(lpCreat->style & (SBS_SIZEBOX | SBS_SIZEGRIP)) {
     699           w = GetSystemMetrics(SM_CXVSCROLL);
     700      }
     701      else w = lpCreat->cx;
     702#else
    691703      w = lpCreat->cx;
     704#endif
     705
    692706      h = GetSystemMetrics(SM_CYHSCROLL);
    693707
     
    16011615}
    16021616
    1603 //CB: not listed in user32.exp -> don't know the id!
    1604 
    16051617BOOL WINAPI GetScrollBarInfo(HWND hwnd,LONG idObject,PSCROLLBARINFO psbi)
    16061618{
Note: See TracChangeset for help on using the changeset viewer.