On Thursday 19 February 2004 10:22 pm, Hal Fulton wrote:
> Hello, all.
>
> This is my first post to this ml. Remains to be seen whether it will
> work.
>
> I'm confused about something. I want to change the (minimized) size
> of an MDIChild window so that the children will "tile" inside the
> parent like bricks.
>
> I see no way to do it. I can resize the child while it's in "normal"
> mode, but that seems to have nothing to do with the minimized size.
>
> I'd also be interested in simply *detecting* the size of the minimized
> window.
>
> Any ideas?
You can subclass FXMDIChild, and overload its getDefaultWidth() to return
the size of your "brick".
> Actually the MDIChild seems fairly "unmanipulable" anyway. AFAIK there
> is no way to get rid of the little icon on the left of the title bar
> or the three "sizer" icons on the right.
Yes, that's true. Your overloaded FXMDIChild could probably hide them.
> Is there some way to put little independent windows into a bigger
> window without using this mdi stuff?
You're not required to use FXMDIClient and FXMDIChild at all.
- Jeroen
--
+----------------------------------------------------------------------------+
| Copyright (C) 23:50 12/11/2003 Jeroen van der Zijp. All Rights Reserved. |
+----------------------------------------------------------------------------+
|