Messenger Plus! Live - Scripting Documentation
The PlusWnd::SendControlMessage function sends a raw message to a
control in the window.
Syntax
[number] SendControlMessage(
[string] ControlId,
[number] Message,
[number] wParam,
[number] lParam
);
Parameters
- ControlId
- [string] Unique identifier of the control.
- Message
- [number] Identifier of the message to send. Each type of a
control has different message identifiers. Check out the MSDN
Library and the Platform SDK include files for more details.
- wParam
- [number] First parameter (wParam) sent with the message.
This is generally a number, a pointer to a string or a pointer to
some raw data.
- lParam
- [number] Second parameter (lParam) sent with the message.
This is generally a number, a pointer to a string or a pointer to
some raw data.
Return Value
The return value is the result of the call to the
SendMessage function of the Windows API.
This function typically fails for the following reason:
- The PlusWnd object refers to a window that has been destroyed.
Remarks
This function is to be used by more advanced developers who want to
send specific messages to a control in the window. Please use caution
when specifying the parameters for each message as incorrect values may
result in crashing Messenger.
Function Information
Object |
PlusWnd |
Availability |
Messenger Plus! Live 4.00 |
See Also
PlusWnd Object,
Windows API SendMessage.