L_INT LImageListControl::GetSelectedItems(pItems=NULL)
Gets the currently selected items in the ImageList Control.
Pointer to a caller-allocated array of LILITEM structures to be filled with the selected items.
Value | Meaning |
---|---|
>= 0 | The number of selected items. |
< 0 | An error occurred. Refer to Return Codes. |
The return value is the number of items pointed to by pItems.
You must allocate the array to be large enough to hold the selected items, and free the memory when it is no longer needed by your application.
If you pass NULL for pItems, the function will simply return the current number of selected items.
The LILITEM structure for each selected item will contain all attributes for the item. The lIndex member of the structure will contain the 0-based index of the item.
Win32, x64.
For an example, refer to LImageListControl::GetSelectCount.
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
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.