L_INT LImageListControl::SelectAll(bFlag=TRUE)
Selects all items in the ImageList control.
Flag that indicates whether or not to select all items in the ImageList control. Possible values are:
Value | Meaning |
---|---|
TRUE | Select all items. |
FALSE | De-select all items. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This message will set the select flag for all items in the ImageList control. If bFlag is TRUE, all items will be selected, otherwise all items will be de-selected.
Win32, x64.
L_INT LImageListControl__SelectAllExample(HWND hParent)
{
L_INT nRet;
LImageListControl m_ImgList;
if(m_ImgList.CreateControl(hParent,0) == NULL)
return FAILURE;
// select all items
nRet = m_ImgList.SelectAll(TRUE);
if(nRet != SUCCESS)
return nRet;
AfxMessageBox(TEXT("wait"));
// now de-select all items
nRet = m_ImgList.SelectAll(FALSE);
if(nRet != SUCCESS)
return nRet;
return SUCCESS;
}
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