I have a program that I'm trying to make it do something different but I don't know what the constants mean. Is there some table somewhere that lists what each one is?

Here is the code I'm using to show you what I'm talking about. It is called when you press a button to cause a text box to scroll up and down. I want it to scroll left and right. The constant set is : &HB6 .. How can I find what this means and where to find others?

Here is the code:

Function ScrollText&(TextBox As Control, vLines As Integer)
' The Windows Version Stuff...
#If Win32 Then
Dim Success As Long
Dim SavedWnd As Long
Dim R As Long
#Else
Dim Success As Integer
Dim SavedWnd As Integer
Dim R As Integer
#End If

Const EM_LINESCROLL = &HB6

' Get the window handle of the control that
' currently has the focus (eg. Command1). This
' is so that the control that had the focus when
' clicked gets the focus back. In this case on of the
' [U] of [D] buttons.

SavedWnd = Screen.ActiveControl.hwnd
Lines& = vLines

'Remove the comment (') if your TextBox is !ENABLED!
'# TextBox.SetFocus

' Scroll the lines, using the SendMessage.
Success = SendMessage(TextBox.hwnd, EM_LINESCROLL, 0, Lines&)

' Restore the focus to the original control which had
' the previous focus, which we previously recorded
' before.
R = PutFocus(SavedWnd)

' Return the number of lines actually scrolled.
ScrollText& = Success
End Function