Pascal Scripting: SendMessage

Prototype:

function SendMessage(const Wnd: HWND; const Msg, WParam, LParam: Longint): Longint;

Description:

Sends the specified message to the specified window. Does not return until the window procedure has processed the message.