PostMessage()


Sends a message to another Windows application.

Syntax

PostMessage(<nHandle>, <nMsg>, <nlParam>, <nwParam>) --> nResult

Arguments

<nHandle> --> is the numeric handle of the Window to receive the message.

<nMsg> --> is the numeric value of the message to send.

<nlParam> --> Is the word (16-bit) value to send with the message.

<nwParam> --> Is the long (32-bit) value to send with the message.

Returns

A numeric value is returned. If an error occurred zero is returned.

Description

This is a special purpose function designed to place a message in the Windows message queue. It can be used to pass messages onto other applications (windows).

____________________________

Related Topics:

Business Function List

FindWindow()



CAPITAL VISUAL BUILDER