Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
Using the ImageList Control
LEADTOOLS C++ Class Library provides an ImageListControl class that lets you display and manipulate a list of images. The ImageListControl functions let you do the following with a list of images:
To create the control, use the following function:
LImageListControl::CreateControl
You can get or set item options, display options, and scroll options using the following:
LImageListControl::EnableKeyboard
LImageListControl::GetBackColor
LImageListControl::GetBorderColor
LImageListControl::SetDisplayFlags
LImageListControl::GetFirstVisible
LImageListControl::GetItemOptions
LImageListControl::GetScrollStyle
LImageListControl::GetSelectionOptions
LImageListControl::GetViewSize
LImageListControl::SetBackColor
LImageListControl::SetBorderColor
LImageListControl::SetItemOptions
LImageListControl::SetScrollStyle
LImageListControl::SetSelectionBitmap
LImageListControl::SetSelectionOptions
To enable or disable keyboard processing, use the following:
LImageListControl::EnableKeyboard
To get information about items in the list, or to perform operations on items in the list, LEADTOOLS provides the following:
LImageListControl::EnsureVisible
LImageListControl::ExportBitmapList
LImageListControl::GetColumnCount
LImageListControl::GetItemCount
LImageListControl::GetRowCount
LImageListControl::GetSelectCount
LImageListControl::GetSelectedItems
LImageListControl::ImportBitmapList
LImageListControl::ScrollItems
For customizing message handling and item selection, use the following: