NativeSlider

Class Overview
Provides operations on windows of WindowClass type msctls_trackbar32.


public NativeSlider(WindowControl src)
Explanation
Constructor.

Parameter
         src
                 A WindowControl object for the target window



public NativeSlider(WindowsAppFriend app, IntPtr windowHandle)
Explanation
Constructor.

Parameters
app
Application manipulation object
windowHandle
Window handle



public bool IsVertical{get;}
Explanation
Returns true if this is a vertical slider.



public int Max{get;}
Explanation
Returns the maximum value.



public int Min{get;}
Explanation
Returns the minimum value.



public int Pos{get;}
Explanation
Returns the current position.



public void EmulateChangePos(int pos)
Explanation
Sets the currently selected position.
Produces a WM_HSCROLL or WM_VSCROLL notification.
Uses SB_THUMBTRACK type scrolling.

Paramteter
pos
The position to set



public void EmulateChangePos(int posAsync async)
Explanation
Sets the currently selected position asynchronously.
Produces a WM_HSCROLL or WM_VSCROLL notification.
Uses SB_THUMBTRACK type scrolling.

Paramteters
pos
The position to set
async
Asynchronous execution object

JR