Using the ImageList Control

LEADTOOLS 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::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::Clear

LImageListControl::DrawItem

LImageListControl::EnsureVisible

LImageListControl::ExportBitmapList

LImageListControl::GetColumnCount

LImageListControl::GetItem

LImageListControl::GetItemCount

LImageListControl::GetRowCount

LImageListControl::GetSelectCount

LImageListControl::GetSelectedItems

LImageListControl::HitTest

LImageListControl::ImportBitmapList

LImageListControl::Insert

LImageListControl::Remove

LImageListControl::ScrollItems

LImageListControl::SelectAll

LImageListControl::Sort

LImageListControl::SortExt

LImageListControl::Update

 

For customizing message handling and item selection, use the following:

LImageListControl::ItemSelected

LImageListControl::MsgProcCallBack