[Lazarus] Sending messages
DrDiettrich1 at aol.com
Thu Nov 24 10:15:05 CET 2011
> 2011/11/24 Hans-Peter Diettrich <DrDiettrich1 at aol.com>:
>> SendMessage and PostMessage are described to differ from the Windows
>> specification. While the WinAPI sends window messages to the thread, that
>> created (owns) the window, LCLIntf docs say that all messages go to the
>> application message loop.
> Shouldn't the thread of the application loop (the main thread) and the
> thread that creates the windows be the same thread for most (all?)
> practical purposes anyways?
Even if so, the documentation should be correct for all cases.
Message handling is one of the most important parts of the LCL, which
should be well documented. When e.g. window creation or the handling of
thread message queues differs across platforms, or is otherwise Delphi
incompatible, such essential items should be documented properly.
More information about the Lazarus