I am trying to use the windows API to automatically scroll a textbox. (On a win2000 machine) I have the following code.
(In my basic Module..)
Public Declare Function SendMessageByVal Lib "user32" _
Alias "SendMessageA" (ByVal hWnd As Long, _
ByVal wMsg as Long, _
ByVal wParam as Long, _
ByVal lParam as Long) As Long
(In my form code...)
SendMessageByVal txtStatus.hWind, EM_LINESCROLL, 0, 1
Of course, EM_LINESCROLL is a constant, and the run-time compiler demmands that I declare it as such. Unfortunately my source of information lacks any sort of value it should be declared with.
Can anyone provide me with this missing value? Or....is there something else wrong here that is inadvertently producing the same error message...could it be the win2000 enviro?
I appreciate any "kick-starts" here..