Sign in Join
FPDoc Onlineexperiment

SendSimpleMessage function

In unit LCLMessageGlue

Creates, configures, and delivers a message to the specified target control.

Declaration

pascal
function SendSimpleMessage(const Target: TControl; Msg: Cardinal)
: PtrInt

Arguments

Target

Control where the message is delivered.

Msg

Message type constant sent in the simple message.

Function result

Pointer to the integer result code in the message. 0 if the message was accepted, non-zero if the message was rejected.

Description

Calls DeliverMessage to apply or dispatch the message to the target.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.