Messages

Messages are the way programs communicate with the various classes of window. Window classes in LHAPI and in the application are treated identically. Since all windows do not respond to all messages, those messages that are not acknowledged should be passed on to the parent class.

Note that although not all messages have a meaningful return value, return values are provided for windows to give feedback to the caller. This happens for DESTROY, LOSEFOCUS, and other messages that the window may wish to reply to; these two messages allow a FALSE return value to abort the process. The return value TRUE is used for most messages.

Messages have optional components, Data and Extra, that are needed in some cases to give specifics about the type/meaning of the sent message. This would be a key character for KEYSTROKE, a command number for COMMAND, etc.

The messages are:

Submessages