Send this message to get the ImageList control's current scroll style.
Parameter  | 
Description  | 
wParam  | 
Ignored, use 0.  | 
lParam  | 
Ignored, use 0.  | 
The current scroll style, which can be one of the following:
SCROLLSTYLE_VERTICAL  | 
[0] scrolling vertically  | 
SCROLLSTYLE_HORIZONTAL  | 
[1] scrolling horizontally  | 
The associated macro is:
L_ImgListGetScrollStyle(hWnd)
For a complete list of available macros, refer to the Ltlst.h file.
Elements:  | 
L_ILM_SETSCROLLSTYLE, L_ILM_SCROLLITEMS, L_ILM_ENSUREVISIBLE  | 
Topics:  | 
|
  | 
L_INT ILM_GETSCROLLSTYLEExample(HWND hCtrl){L_INT nStyle;if(IsWindow(hCtrl)){/* get current scroll style */nStyle = (L_INT)SendMessage(hCtrl, L_ILM_GETSCROLLSTYLE, 0, 0L);if(nStyle == SCROLLSTYLE_VERTICAL)nStyle = SCROLLSTYLE_HORIZONTAL;elsenStyle = SCROLLSTYLE_VERTICAL;/* set new scroll style */SendMessage(hCtrl, L_ILM_SETSCROLLSTYLE, (WPARAM)nStyle, 0L);return SUCCESS;}elsereturn 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
