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. |
>=0 |
The number of the currently visible page |
< 0 |
An error occurred. Refer to Return Codes. |
The associated macro is:
L_ImgListSetDisplayFlags()
For a complete list of available macros, refer to the Ltlst.h file.
Topics: |
|
|
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;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET