L_ILM_SETDISPLAYFLAGS

Send this message to set the display mode flags to use.

Parameter

Description

wParam

Ignored, use 0.

lParam

The display mode flags to use. For a list of available values, refer to Flags for the L_SetDisplayMode Function.

Returns

>=0

The old display mode flags

< 0

An error occurred. Refer to Return Codes.

Comments

The associated macro is:

L_ImgListSetDisplayFlags()

For a complete list of available macros, refer to the Ltlst.h file.

See Also

Topics:

Using the ImageList Control

 

Image List Control Messages

Example

L_INT ILM_SETDISPLAYFLAGSExample(HWND hCtrl) 
{ 
   if (IsWindow(hCtrl)) 
   { 
      L_UINT32 uFlags = L_GetDisplayMode(); 
      uFlags = (L_UINT32)SendMessage(hCtrl, L_ILM_SETDISPLAYFLAGS, 0, (LPARAM)uFlags); // returns the old settings 
   } 
   else 
      return ERROR_INVALID_PARAMETER; 
 
   return SUCCESS; 
} 
Help Version 20.0.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help