<< SL_ScrollWindowXY | SL_GetReqWinAttr >> |
Top: Documentation Library | Up: SoftLogik App Library API |
SL_ScrollWindowPane
NAME
SL_ScrollWindowPane -- scrolls many portions of the window.
SYNOPSIS
SL_ScrollWindowPane(winhandle, panes, count);
A0 A1 D0
void SL_ScrollWindowPane(WINHANDLE, WORD *, UWORD);
FUNCTION
Scrolls count number of panes in the window. A pane is defined by an array
of six numbers: x1,y1,x2,y2,dx,dy. No area outside any of the panes is
affected. The newly exposed areas are filled with the current background
pen. A refresh event is posted to the window after the scroll.
Positive numbers will scroll towards the bottom right. Negatve numbers will
cause the area to move towards the upper left.
INPUTS
winhandle - the window to scroll the panes in.
panes - the "panes" of the window to scroll.
count - the number of panes to scroll.
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.
Example:
//do not do this
doc->top += scrollamount;
SL_ScrollWindowWH(doc->wh, l,t,w,h, 0, scrollamount);
//do this instead
SL_ScrollWindowWH(doc->wh, l,t,w,h, 0, scrollamount);
doc->top += scrollamount;
SEE ALSO
SL_ScrollWindowPane, SL_ScrollWindowWH, SL_ScrollWindowXY.
SL_ScrollWindowPane Command Section By Type url:SL_ScrollWindowPane
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_ScrollWindowPane | sign in to add a comment |
There are no user contributed comments for this page. |
<< SL_ScrollWindowXY | SL_GetReqWinAttr >> |
Top: Documentation Library | Up: SoftLogik App Library API |