L_ILM_SELECTALL

Send this message to set the select flag for all items.

Parameter

Description

wParam

Ignored, use 0.

lParam

Ignored, use 0.

 

Returns

SUCCESS

Function was successful

< 0

An error occurred. Refer to Return Codes.

Comments

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.

See Also

Elements:

L_ILM_GETITEMCOUNT, L_ILM_CLEAR, L_ILM_SORT, L_ILM_GETITEM, L_ILM_SETITEM, L_ILM_GETSELCOUNT

Topics:

Using the ImageList Control

 

Image List Control Messages

 

Example

L_VOID TestFunc17(HWND hWnd)
{
   LRESULT lRet;

   if(IsWindow(hWnd))
   {
      /* deselect all items in the list */
      lRet = SendMessage(hWnd, L_ILM_SELECTALL, FALSE, 0L);
   }
}