|
Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
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
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
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; }