Hi Tim,
Tim David Bailey wrote:
>
> Can anyone help?
>
> I am trying to create an application with a tree view on the left hand side
> and child windows on the right seperated by a splitter. The idea is for the
> childs to appear only on the left so the user can have an unobstructed view
> of the tree view at all times. Is this possible?? If so how? I would be very
> greatful to know please.
>
> Also any of the controls/windows in the wxMDIParentWindow have a problem
> refreshing/repainting and just show up as a gray block. How do I combat
> this?
I have not yet written a real wxPython MDI application, so I have no
knowledge about any MDI bugs.
If I understand your first question (and I assume it applies to the same
MDI app), you want the tree to be always visible and sizeable.
If you create a tree directly on the MDI parent on the left side, the
effective client area to host child windows is reduced to the right side
of the frame, this sounds like what you want.
You need to handle the sizing of the three yourself in an EVT_SIZE
event.
I suspect you will need to code the splitter/sizing yourself, as
a splitter window needs 2 windows (we only have the tree)
>
> In desperate need of help,
>
> Tim
>
> _______________________________________________
> Boa-constructor-users mailing list
> Boa...@li...
> http://lists.sourceforge.net/lists/listinfo/boa-constructor-users
--
Riaan Booysen
___________________________________________________
Boa Constructor - RAD GUI building IDE for wxPython
http://boa-constructor.sourceforge.net
|