Send this message to set the display mode flags to use.
Ignored, use 0.
The display mode flags to use. For a list of available values, refer to Flags for the L_SetDisplayMode Function.
Value | Meaning |
---|---|
>=0 | The old display mode flags |
< 0 | An error occurred. Refer to Return Codes. |
The associated macro is:
For a complete list of available macros, refer to the Ltlst.h file.
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 Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document