LImageListControl::GetScrollStyle

Summary

Gets the current ImageList Control scroll style.

Syntax

#include "ltwrappr.h"

L_INT LImageListControl::GetScrollStyle(L_VOID)

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.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.