LImageListControl::SetScrollStyle

#include "ltwrappr.h"

L_INT LImageListControl::SetScrollStyle(nScrollStyle=SCROLLSTYLE_VERTICAL)

L_INT nScrollStyle;

/* new scroll style */

Sets the ImageList Controls scroll style.

Parameter

Description

nScrollStyle

The new scroll style for the control. Possible values are:

Value

Meaning

SCROLLSTYLE_VERTICAL

[0] scrolling vertically.

SCROLLSTYLE_HORIZONTAL

[1] scrolling horizontally.

Returns

The previous scroll style. Possible values are:

Value

Meaning

SCROLLSTYLE_VERTICAL

[0] scrolling vertically

SCROLLSTYLE_HORIZONTAL

[1] scrolling horizontal

Required DLLs and Libraries

LTDIS
LTFIL
LTIMG

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

Platforms

Win32, x64.

See Also

Functions:

Class Members

Topics:

Using the ImageList Control

Example

For an example, refer to LImageListControl::GetScrollStyle.