On Mon, 17 Apr 2006 13:41:26 -0400
"Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:
> 2006/4/17, Christian U. <[EMAIL PROTECTED]>:
> > > As you said yourself, it is a trick. The support for tricks is very
> > > low. On win32 this works since all window widgets can have a window
> > > widget as parent. This means that you can put a form on a form
> > > (including borders) On GTK this won't work. There is a far more
> > > strickt checking on what parent you set.
> >
> > Thats not fact, in GTK it works and in win32 not !
> > I have posted a hint to get it work in win32 too with an little trick.
>
> As I can see it, it does work under win32, the only problem is the
> focus/access problem with the mouse. It seams the mouse events are not
> passed to the parent properly. (?)
>
> From the message of Mattias, should I understand that if I crate my
> form with a parent, it will be dockable, and if with a (nil) parent,
> it will not be dockable?
No. I just pointed out how docking is implemented in the gtk intf.
> For my personal use, I do not want full form docking. I want only the
> client area of the form to dock, and act like a panel. It allows
> amazing user interface code reuse and design simplification and later
> code maintenance.
This works. We have to check, if all functions/messages work properly.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives