#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. |
<>0 |
The number of rows or columns scrolled. |
0 |
Did not scroll OR an error occurred. |
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. |
Win32, x64.
Functions: |
|
Topics: |
L_INT LImageListControl__ScrollItemsExample(HWND hParent)
{
L_INT nRet;
LImageListControl m_ImgList;
if(m_ImgList.CreateControl(hParent,0) == NULL)
return FAILURE;
// insert some items here
//Scroll Items by 2
nRet = m_ImgList.ScrollItems(-2);
if(nRet == 0)
return nRet;
AfxMessageBox(TEXT("wait"));
//now scroll back
nRet = m_ImgList.ScrollItems(2);
if(nRet == 0)
return nRet;
return SUCCESS;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.