Messenger Plus! Live - Scripting Documentation

The PlusWnd::RegisterMessageNotification function allows advanced script developers to hook specific messages in their windows. Any message can be specified for custom processing.

Syntax

RegisterMessageNotification(
    [number] Message,
    [boolean,optional] Enable
);

Parameters

Message
[number] Identifier of the message that will generate the notification. Check out the MSDN Library and the Platform SDK include files for more details.
Enable
[boolean,optional] Set this parameter to false to remove a previous registration and disable notifications for a specific message. This parameter is true by default, to create the registration.

Return Value

No value is returned by this function.

This function typically fails for the following reason:

Remarks

This function needs to be called for each message you want to hook. Each time one of those messages is received by the window, an OnWindowidEvent_MessageNotification event is generated.

Function Information

Object PlusWnd
Availability Messenger Plus! Live 4.10

See Also

PlusWnd Object, OnWindowidEvent_MessageNotification.