|
-
August 15th, 2001, 10:54 AM
#1
Still not working
Hello,
Here is the API function am using. It will move the Grid scroll bar (thumb) but not the contents of the Grid.
Public Declare Function SetScrollPos Lib "user32" (ByVal hwnd As Long, ByVal nBar As Long, ByVal nPos As Long, ByVal bRedraw As Long) As Long
**************************************
Private Sub Command1_Click()
Dim x As Long, y As Long, z As Long
y = Grid1.hwnd
x = 50
z = SetScrollPos(y, 1, x, 1)
End Sub
***************************************
Thanks
Hisham
Thank You, Hisham
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|