[Lazarus] Threads and Libraries (dll and so)

Hans-Peter Diettrich DrDiettrich1 at aol.com
Mon Feb 10 14:20:10 CET 2014


Michael Schnell schrieb:
> On 02/07/2014 05:31 PM, Hans-Peter Diettrich wrote:
>>
>> Window managers do not care about widgets,,,
> 
> So maybe I am confused about the term "Window Manager" (I think I did 
> not introduce it here)

MS Windows does not distinguish between the window manager and 
widgetset, it provides both. The Windows-provided widgets again are 
windows (have a HWND...), so that the window manager must handle 
*nested* windows. Also both send messages to a window's message queue 
(WM_...), so that an ordinary Windows user doesn't notice a difference 
between both.

X11 instead does not provide widgets itself, these must be added by 
dedicated libraries (widgetsets). The communication between an 
application and the window manager and an widgetset works differently, 
events from both sources must be merged into the LCL message queue, for 
VCL/Windows compatibility.

DoDi





More information about the Lazarus mailing list