Command Prompt for Windows




Command POSTMSG

Function:

Post a message to a window.

Syntax:

POSTMSG [hwnd | "title" | "class"] msg wparam lparam
hwndSpecifies the window handle.
titleA string that specifies the window caption or part of the window caption.
classA string that specifies the window class name or part of the window class name.
msgNumber that represents the message to send
wparamNumber that represents the wParam value.
lparamNumber that represents the lParam value.

Note:

Parameters msg, wparam and lparam are integer numbers.

Also see command TASKS.