SL_ScrollWindowXY


NAME
SL_ScrollWindowXY -- scrolls a portion of the window.

SYNOPSIS
SL_ScrollWindowXY(winhandle, x1, y1, x2, y2, dx, dy);
A0 D2 D3 D4 D5 D0 D1

void SL_ScrollWindowXY(WINHANDLE, WORD, WORD, WORD, WORD, WORD, WORD);

FUNCTION
Scrolls the portion of the window specified by x1,y1 x2,y2 by
dx and dy. No area outside of the scroll area is affected. The newly exposed
area is filled with the current background pen. A refresh event is posted
to the window after the scroll.

INPUTS
winhandle - the handle of the wndow to scroll.
x1,y1 - the upper left corner of the area to scroll.
x2,y2 - the bottom right corner of the area to scroll.
dx,dy - the amount to scroll in the horizontal and vertical directions.
Positive numbers will scroll towards the bottom right. Negatve
numbers will cause the area to move towards the upper left.

NOTE
The window does not need to be drawable for this call to work. If the
window is not visible this routine does nothing.

On the Macintosh if a refresh event is pending when this call is made, it is sent to the window before the scroll is done. This could be the
refresh event for a previous scroll. Applications should always scroll
the window before updating any internal data relating to the scroll.

SEE ALSO
SL_ScrollWindowPane, SL_ScrollWindowWH, SL_ScrollWindowXY.

 

SL_ScrollWindowXY  Command Section By Type  url:SL_ScrollWindowXY
  created:2008-03-01 23:36:28   last updated:2008-03-01 23:36:28
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_ScrollWindowXY
There are no user contributed comments for this page.