I declare the following and use it if the msg returns values.
I also declare an SendMessage using ByVal for other calls.
Isn't there a way I can used the SendMessage and in the call tell it to use
ByRef?
Public Declare Auto Function SendMessageRef Lib "user32.dll" Alias
"SendMessage" (ByVal hWnd As IntPtr, ByVal msg As Integer, ByRef wParam As
Integer, ByRef lParam As Integer) As Integer
Thanks
PS
I once read a great internet site that explained in detail ByVal and ByRef
as applied to Value types and Reference types - but I've lost the URL.
Anyone know the address?