Well, you weren't totally clear since you can send 0 ByVal. But if this
won't do, just leave the ByVal off in the declaration. You can add ByVal to
a parameter in the actual call to override the declaration.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
Quote:
> I am using the SendMessage API to retrieve text so I declared the lParam
> with Byval, but now I need to use SendMessage with the lParam set to
> 0.....but this will not work because of the Byval. How can I declare
> SendMessage so that I can do both?
> Please E-mail Responses if possible