This website has been designed for use with the FireFox browser. Please use FireFox to view this page.
GetScrollPos Reference in C#, VB.NET and VB6
Library:user32.dll
Visual Basic .NET definition
Declare Function GetScrollPos Lib "user32" (ByVal hwnd As Integer, ByVal nBar As Integer) As Integer
C# definition
[DllImport("user32")]
public static extern int GetScrollPos(int hwnd, int nBar)
Description
GetScrollPos
Retrieves the current position of the scroll box.
System.Windows.Forms.ScrollBar.Value
Further Information:
For further information on Windows API functions such as these, and how to use these API's in your
C# and VB.NET applications, please refer to the book 'Network programming in .NET' (Buy at Amazon UK) (Buy at Amazon US)