[Lazarus] Sending messages

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sat Nov 26 14:41:43 CET 2011


Mattias Gaertner schrieb:

> Maybe you should give people some time to answer your mails, before
> writing several mails all based on the same misunderstanding.

ACK


>> E.g. TWidgetset.AllocHWND allows to create (hidden) windows, which then 
>> can receive messages. Does this allow to send messages to threads, on 
>> *all* platforms? Such functionality IMO *can* be implemented in the LCL, 
>> for all widgetsets, question is whether it will be supported *by 
>> design*, or only exists for Delphi/Win32 compatibility?
> 
> TWidgetset.AllocHWND is WinAPI specific.
> If you use this you leave the safe harbor of the LCL.

I'd like to see such statements for all TWidgetset methods, other users 
may want that, too.

Can the lclintfh/winapih separation be used to distinguish between 
methods available in all widgetsets, and purely Windows specific 
extensions (for Delphi compatibility only)?

DoDi





More information about the Lazarus mailing list