System.TDispatchMessage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TDispatchMessage = record
    MsgID: Word;
  end;

C++

struct DECLSPEC_DRECORD TDispatchMessage
{
public:
    Word MsgID;
};

Properties

Type Visibility Source Unit Parent
record
struct
public
System.pas
System.hpp
System System

Description

Is a structure with a word field for a message ID.

Dispatch accepts any data type as its Message parameter. The first 2 bytes of the data are taken as the message ID to search for in the object's message methods. TDispatchMessage is an example of such a structure with a word field for the message ID.

See Also