Send this message to set the select flag for all items.
Parameter |
Description |
wParam |
Ignored, use 0. |
lParam |
Ignored, use 0. |
SUCCESS |
Function was successful |
< 0 |
An error occurred. Refer to Return Codes. |
This message will set the select flag for all items in the ImageList control. If wParam is TRUE, all items will be selected, otherwise all item will be un-selected.
The associated macro is:
L_ImgListSelectAll(hWnd, bFlag)
For a complete list of available macros, refer to the Ltlst.h file.
Elements: |
L_ILM_GETITEMCOUNT, L_ILM_CLEAR, L_ILM_SORT, L_ILM_GETITEM, L_ILM_SETITEM, L_ILM_GETSELCOUNT |
Topics: |
|
|
L_INT ILM_SELECTALLExample(HWND hCtrl)
{
if(IsWindow(hCtrl))
{
/* deselect all items in the list */
return (L_INT) SendMessage(hCtrl, L_ILM_SELECTALL, FALSE, 0L);
}
else
return ERROR_INVALID_PARAMETER;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET