LBitmapWindow::ScrollBy

#include "ltwrappr.h"

POINT LBitmapWindow::ScrollBy(dx, dy)

L_INT dx;

/* horizontal distance */

L_INT dy;

/* vertical distance*/

Scrolls the displayed bitmap by the specified amount.

Parameter

Description

dx

The distance to scroll the bitmap horizontally.

dy

The distance to scroll the bitmap vertically.

Returns

A point structure that holds the actual horizontal and vertical distances by which the bitmap was scrolled.

Comments

The units for dx and dy are in pixels, with the top, left pixel of the image being 0,0.

Required DLLs and Libraries

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTISI
LTSCR
LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

Class Members

Example

For an example, refer to LBitmapWindow::Repaint.