Send this message to scroll the items in the ImageList Control.
Ignored, use 0.
Number of rows/columns to scroll.
Value | Meaning |
---|---|
<>0 | The actual number or rows/columns scrolled. |
0 | Did not scroll or an error occurred. Refer to Return Codes. |
Depending on the current setting for the control's ScrollStyle, the specified number or rows or columns will be scrolled if possible. The actual number or rows/columns scrolled will be returned.
The associated macro is:
For a complete list of available macros, refer to the Ltlst.h file.
L_INT ILM_SCROLLITEMSExample(HWND hCtrl)
{
if(IsWindow(hCtrl))
{
L_TCHAR szText[200];
/* scroll down 2 rows */
L_INT nRet = (L_INT) SendMessage(hCtrl, L_ILM_SCROLLITEMS, 0, 2L);
wsprintf(szText, TEXT("%ld"), nRet);
MessageBox(hCtrl, szText, TEXT("Scroll"), MB_OK);
return SUCCESS;
}
else
return ERROR_INVALID_PARAMETER;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document