NativeSpinButton

Class Overview
Provides operations on windows of WindowClass type msctls_updown32.



public NativeSpinButton(WindowControl src)
Explanation
Constructor.

Parameter
          src
                A WindowControl object for the target window



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

Parameters
app
Application manipulation object
windowHandle
Window handle



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



public void EmulateChangePos(int pos)
Explanation
Sets the current position.
Produces a UDN_DELTAPOS notification.
Also produces EN_CHANGE and EN_UPDATE notifications as a pair.
Also produces a WM_VSCROLL notification.

Parameter
pos
Position to set



public void EmulateChangePos(int posAsync async)
Explanation
Sets the current position asynchronously.
Produces a UDN_DELTAPOS notification.
Also produces EN_CHANGE and EN_UPDATE notifications as a pair.
Also produces a WM_VSCROLL notification.
Parameters
pos
Position to set
async
Asynchronous execution object



public void GetRange(ref int min, ref int max)
Explanation
Obtains the selected range.

Parameters
min
Minimum value
max
Maximum value
JR