Ignore:
Timestamp:
Oct 29, 1999, 6:06:56 PM (26 years ago)
Author:
cbratschi
Message:

scrollbar updates

File:
1 edited

Legend:

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

    r1490 r1511  
    1 /* $Id: pmframe.cpp,v 1.12 1999-10-28 12:00:34 sandervl Exp $ */
     1/* $Id: pmframe.cpp,v 1.13 1999-10-29 16:06:55 cbratschi Exp $ */
    22/*
    33 * Win32 Frame Managment Code for OS/2
     
    6767  DWORD dwStyle = win32wnd->getStyle();
    6868
     69  //CB: todo: switch to RGB mode and use win colors
    6970  clrWhite = CLR_WHITE;
    7071  clrBlack = CLR_BLACK;
     
    144145  INT x;
    145146
     147  //CB: todo: switch to RGB mode and use win colors
    146148  WinFillRect(hps,&rect,SYSCLR_DIALOGBACKGROUND);
    147149  p1.x = rect.xRight-2;
     
    198200        WinReleasePS(hps);
    199201    }
     202}
     203//******************************************************************************
     204//******************************************************************************
     205void FrameTrackFrame(Win32BaseWindow *win32wnd,BOOL lefttop)
     206{
     207  INT flags = lefttop ? (TF_LEFT | TF_TOP):(TF_RIGHT | TF_BOTTOM);
     208
     209  WinSendMsg(win32wnd->getOS2FrameWindowHandle(),WM_TRACKFRAME,(MPARAM)flags,(MPARAM)0);
    200210}
    201211//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.