Hi again,

I'm now missing a procedure to 'host' a form in a different window given only by a handle. In Delphi it's as simple as

MyForm.ParentWindow := HWnd(Handle);

It directly uses Windows.SetParent(FHandle, Value); from the WinAPI. At the moment I'm still on Windows, but I'd like to find a multi-platform solution.

There is a FParentWindow located in TWinControl, but there is nothing like ParentWindow. Is there any reason for it or was it simply never necessary and thus never implemented? Any hints welcome!

Thanks in advance,

   Christian

Reply via email to