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 number of the currently visible page

< 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) 
{ 
   L_INT nRet; 
   if(IsWindow(hCtrl)) 
   { 
      L_UINT32 uFlags = L_GetDisplayMode(); 
      nRet = SendMessage(hCtrl, L_ILM_SETDISPLAYFLAGS, 0, (LPARAM)uFlags); //return page number 
      if(nRet >=0 ) 
         return SUCCESS; 
      else 
         return nRet; 
   } 
   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