[Lazarus] GTK2: PostMessage(..., LM_CHAR, ...) and IntfUTF8KeyPress(...)

Michael Schnell mschnell at lumino.de
Wed Jun 30 09:56:22 CEST 2010


On 06/28/2010 11:13 PM, Žilvinas Ledas wrote:
>
>  PostMessage(currentEdit.Handle, LM_CHAR, Ord('a'), 0); // trying to
> post msg to some TEdit
AFAIK, Controls that react on messages is a windows specific way to
manage controls.

In Linux, messages can be used to have a thread notify the main thread
(that receives the message via the "procedure ...message" construct, but
not for managing controls or to send messages to other processes.

-Michael




More information about the Lazarus mailing list