Eric C. Hansen wrote:
> Can someone post a list of all the possible SendMessage() function
> parameters and what they do:
> 
>       $Object->SendMessage(param1,param2,param3)
 
YUK! this would cover a huge part of the Platform SDK documentation;
just as general introduction, I can tell you that param1 is the 
identifier of the message you want to send (eg. WM_DESTROY), while
param2 and param3 depend on the value of param1; they can be
numerical values, strings, pointer to structures or whatever else.
documenting them all it's just not possible.
furthermore, note that SendMessage is provided as a workaround
for not-yet-implemented functions. for example, to limit the number
of characters of a Textfield, you can use:

    $EM_SETLIMITTEXT = 0x00C5;
    $Textfield->SendMessage($EM_SETLIMITTEXT, $nchars, 0);

but this has been lately implemented in the MaxLength() method, 
so you should (and you probably prefer to, won't you?) use instead:

    $Textfield->MaxLength($nchars);

hope this helps...

cheers,
Aldo

__END__
# Aldo Calpini
%_ = split undef, join ' ', qw(fahokem 
xritajbugne csuctawer jhdtlrnpqloevkshpr
); print map $_{$_}, sort keys %_;




Reply via email to