Mattias Gaertner wrote:
> Maybe my statement was not clear: The Parent/Child connection is the
> main problem. It would be easier to handle the child/parent
> relationship by the LCL and keep the 1:1 mapping between controls and
> handles.
> So, all that is needed is a TForeignHandleControl with a SetHandle
> method.
Still not clear what you mean. Maybe like this:
TForeignHandleControl(x).SetHandle:=hWnd;
then: form1.parent:=TForeignHandleControl(x).SetHandle;
or : TForeignHandleControl(x).Setparent:=form1.hWnd;
Thanks!
--
Al
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives