SL_ScrollWindowWH


NAME
SL_ScrollWindowWH -- scrolls a portion of the window.

SYNOPSIS
SL_ScrollWindowWH(winhandle, left, top, width, height, dx, dy);
A0 D2 D3D4 D5 D0 D1

void SL_ScrollWindowWH(WINHANDLE, WORD, WORD, WORD, WORD, WORD, WORD);

FUNCTION
Scrolls the portion of the window specified by left,top,width,height 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.
left,top - the upper left corner of the area to scroll.
width,heigh - the size 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_ScrollWindowWH  Command Section By Type  url:SL_ScrollWindowWH
  created:2008-03-01 23:36:28   last updated:2008-03-01 23:36:28
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

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