DISPATCHMSG

From STX Wiki
Jump to navigationJump to search

DISPATCHMSG

This macro calls the message handler for "type name". If no handler is installed, no processing is performed and the macro returns 0. The macro can be called from message loops or message handlers to process or translate messages and it is also called by GETMESSAGE to perform standard message handling. The default message handlers are part of this macro.

Usage:

DISPATCHMSG type name id par

Parameters:
type
The type of sender.
name
The name of the sender.
id
The message id.
par
The message parameter.
Result:

1 if message processing is finished and 0 otherwise

Navigation menu

Personal tools