On 11/26/2011 01:33 PM, Mattias Gaertner wrote: > TWidgetset.AllocHWND is WinAPI specific. If you use this you leave the > safe harbor of the LCL. To be clear this also is true with PostMessage(), as there are lots of Windows-specific Message-Numbers and possible targets for Messages that are not portable. -Michael