L_ILM_SETDISPLAYFLAGS

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

Parameters

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

Value Meaning
>=0 The old display mode flags
< 0 An error occurred. Refer to Return Codes.

Comments

The associated macro is:

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

See Also

Topics

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 22.0.2023.7.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.