Pascal Scripting: SendMessage

Prototype:

function SendMessage(const Wnd: HWND; const Msg: Cardinal; const WParam: WPARAM; const LParam: LPARAM): LRESULT;

Description:

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