Ignore:
Timestamp:
Dec 29, 1999, 11:54:04 PM (26 years ago)
Author:
cbratschi
Message:

new mapping functions, fixed 1 pixel and window handle bugs

File:
1 edited

Legend:

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

    r2250 r2257  
    1 /* $Id: win32wmdiclient.cpp,v 1.19 1999-12-29 14:37:18 sandervl Exp $ */
     1/* $Id: win32wmdiclient.cpp,v 1.20 1999-12-29 22:54:03 cbratschi Exp $ */
    22/*
    33 * Win32 MDI Client Window Class for OS/2
     
    10341034    GetScrollRange(hWnd,SB_HORZ,&minPos,&maxPos);
    10351035    curPos = GetScrollPos(hWnd,SB_HORZ);
    1036     length = win32wnd->getWindowWidth()/2;
     1036    length = win32wnd->getClientWidth()/2;
    10371037    shift = GetSystemMetrics(SM_CYHSCROLL);
    10381038  } else if (uMsg == WM_VSCROLL)
     
    10401040    GetScrollRange(hWnd,SB_VERT,&minPos,&maxPos);
    10411041    curPos = GetScrollPos(hWnd,SB_VERT);
    1042     length = win32wnd->getWindowHeight()/2;
     1042    length = win32wnd->getClientHeight()/2;
    10431043    shift = GetSystemMetrics(SM_CXVSCROLL);
    10441044  } else return;
Note: See TracChangeset for help on using the changeset viewer.