The ScrollDC function scrolls a rectangle of bits horizontally and vertically.
BOOL ScrollDC(
HDC hDC, |
// handle of device context |
int dx, |
// horizontal scroll units |
int dy, |
// vertical scroll units |
CONST RECT *lprcScroll, |
// address of structure for scrolling rectangle |
CONST RECT *lprcClip, |
// address of structure for clipping rectangle |
HRGN hrgnUpdate, |
// handle of scrolling region |
LPRECT lprcUpdate |
// address of structure for update rectangle |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
If the lprcUpdate parameter is NULL, Windows does not compute the update rectangle. If both the hrgnUpdate and lprcUpdate parameters are NULL, Windows does not compute the update region. If hrgnUpdate is not NULL, Windows proceeds as though it contains a valid handle of the region uncovered by the scrolling process (defined by ScrollDC).
When you must scroll the entire client area of a window, use the ScrollWindowEx function.
InvalidateRgn, RECT, ScrollWindowEx
file: /Techref/os/win/api/win32/func/src/f75_4.htm, 5KB, , updated: 2000/4/7 12:19, local time: 2024/9/1 17:59,
3.139.238.176:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/os/win/api/win32/func/src/f75_4.htm"> ScrollDC</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.