Declare Function GetScrollPos Lib "user32" (ByVal hwnd As Long, ByVal nBar As Long) As Long

Hi, i'm using this API with W98 and it runs perfectly.

But when i try the same program with the same code in Windows 2000, the function GetScrollPos doesn´t run.

What's the problem, ?
Is there any API function that gives me the same funcionality? Why Microsoft want to **** developers?

I want to know if in w2000 are more changes in API functions,

Bye Bye , hasta luego !!!