LImageListControl::ScrollItems
#include "ltwrappr.h"
L_INT LImageListControl::ScrollItems(nCount)
L_INT nCount; |
/* the amount to scroll */ |
Scrolls the items in the ImageList Control.
Parameter |
Description |
nCount |
The number of rows or columns to scroll. |
Returns
<>0 |
The number of rows or columns scrolled. |
0 |
Did not scroll OR an error occurred. |
Comments
Depending on the current setting for the control's ScrollStyle, the specified number of rows or columns will be scrolled if possible. The actual number or rows/columns scrolled will be returned.
Required DLLs and Libraries
LTDIS 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: |
|
Topics: |
Example
LImageListControl m_ImgList;
//Scroll Items by 2
m_ImgList.ScrollItems(-2);
AfxMessageBox(TEXT("wait"));
//now scroll back
m_ImgList.ScrollItems(2);