LImageListControl::GetScrollStyle

#include "ltwrappr.h"

L_INT LImageListControl::GetScrollStyle(L_VOID)

Gets the current ImageList Control scroll style.

Returns

The current scroll style. Possible values are:

Value Meaning
SCROLLSTYLE_VERTICAL [0] scrolling vertically
SCROLLSTYLE_HORIZONTAL [1] scrolling horizontal

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

L_INT LImageListControl__GetScrollStyleExample() 
{ 
   LImageListControl m_ImgList; 
 
   // set for Horz. Scrolling 
   if(m_ImgList.GetScrollStyle() != SCROLLSTYLE_HORIZONTAL) 
   { 
      m_ImgList.SetScrollStyle(SCROLLSTYLE_HORIZONTAL); 
      ::RedrawWindow(m_ImgList.m_hWnd, NULL, NULL, RDW_INVALIDATE); 
   } 
 
   return SUCCESS; 
} 
Help Version 22.0.2021.9.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help