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_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; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help