ImageGear Professional for Windows ActiveX
HandleScroll Method

Description:

Handles scrollbar messages from an hWnd window. It should not be used to set the absolute scroll position; function ScrollTo Method should be used instead.

Syntax:

      HandleScroll(hWnd As Long, Type As enumIGDsplScrollType,
lScrollCmd As Long, lScrollValue As Long)

Parameters:

Name Description
hWnd Handle of window where image is displayed and where scrolling is performed
Type Scroll command. Its value is platform dependent. For Win32 platforms there should be LOWORD(wParam)Valid values are:
  • IG_DSPL_SCROLL_HORIZONTAL
  • IG_DSPL_SCROLL_VERTICAL
lScrollCmd Scroll command. Its value is platform dependent. For Win32 platforms there should be LOWORD(wParam). Valid values are:
  • IG_DSPL_HSCROLLBAR
  • IG_DSPL_HSCROLLBAR_AUTO
  • IG_DSPL_HSCROLLBAR_ENABLE
  • IG_DSPL_HSCROLLBAR_DISABLE
  • IG_DSPL_VSCROLLBAR
  • IG_DSPL_VSCROLLBAR_AUTO
  • IG_DSPL_VSCROLLBAR_ENABLE
  • IG_DSPL_VSCROLLBAR_DISABLE
lScrollValue Scroll value. It is also platform dependent and its value may have a different meaning from nScrlType. Under the Windows platform, it is not used because the scroll position is obtained directly from the scrollbars.

Return Value:

N/A

Bits Per Pixel:

N/A

Sample:

Display

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback