| LEADTOOLS Raster Imaging C DLL Help > LEADTOOLS Raster Imaging Features > Windows > Window Messages > ImageList Control's > 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: |
|
|
|
Example
L_INT ILM_SETDISPLAYFLAGSExample(HWND hCtrl)
{
if(IsWindow(hCtrl))
{
L_UINT32 uFlags = L_GetDisplayMode();
return (L_INT)SendMessage(hCtrl, L_ILM_SETDISPLAYFLAGS, 0, (LPARAM)uFlags);
}
else
return ERROR_INVALID_PARAMETER;
}