postmessage

Posts a message to window.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X       X

Syntax

void postmessage(hwnd,msg,wparam,lparam)
int              hwnd,msg,wparam,lparam

Description

Passes the parameters to the MS Windows PostMessage() function. Use this function at your own risk.

Example

Terminate all MS Windows: (not recommended)
postmessage(-1,18,0,0);