Changeset 1154 for trunk/src


Ignore:
Timestamp:
Oct 6, 1999, 12:36:39 PM (26 years ago)
Author:
dengert
Message:

adjust caret pos on window height change

Location:
trunk/src/user32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/caret.h

    r1077 r1154  
    1 /* $Id: caret.h,v 1.1 1999-09-28 08:00:56 dengert Exp $ */
     1/* $Id: caret.h,v 1.2 1999-10-06 10:36:39 dengert Exp $ */
    22
    33/*
     
    99
    1010extern void recreateCaret (HWND hwndFocus);
     11extern BOOL WIN32API SetCaretPos (int x, int y);
     12extern BOOL WIN32API GetCaretPos (PPOINT pPoint);
    1113
  • trunk/src/user32/pmwindow.cpp

    r1114 r1154  
    1 /* $Id: pmwindow.cpp,v 1.14 1999-10-03 20:38:01 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.15 1999-10-06 10:36:39 dengert Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    330330               WinSetMultWindowPos(GetThreadHAB(), swp, i);
    331331        }
     332        if (yDelta != 0)
     333        {
     334            POINT pt;
     335            GetCaretPos (&pt);
     336            pt.y -= yDelta;
     337            SetCaretPos (pt.x, pt.y);
     338        }
    332339        win32wnd->MsgPosChanged((LPARAM)&wp);
    333340
Note: See TracChangeset for help on using the changeset viewer.