Kirix Support Forums

Yet an other MDI question

Please post all general questions, comments, bug reports, and any other wxAUI feedback here.

Yet an other MDI question

Postby automatix on Wed Feb 15, 2006 4:46 am

First of all the lib is great :D thx to ya

I try to make a maybe a real strange think and maybe it isn't possible but asking is for free..

I want to create a layout like the following

_________________________________________________
| | |
| | |
| | |
| prj - | content window |
| mgr | should be MDI |
| | |
| | |
|________|_______________________________________|
| |
| help info |
|________________________________________________|

so i want to have a frame with the layout above and with wxPanel it's no problem but how can I ( if it is possible) make the content window pane as MDI parent frame. I need this because I want to handle multiple files and the user should be able to use advantage of MDI classes.
I tryed to use wxMDIParentFrame as Pane but this dosent realy work, because the wxMDIParentFrame stays as an single frame at all.

regrads
lars

fore some reasend wihtspaces are removed in my pic, i'm sorry about this but i hope you can figure out what i mean.
automatix
Registered User
 
Posts: 9
Joined: Wed Feb 15, 2006 4:23 am
Location: Germany

Postby Ben on Fri Feb 17, 2006 1:08 am

Hi,

If you call SetFrame() with a wxMDIParentFrame as the parameter, it should automatically add the MDI Client Window as your center pane. I believe this is what you are referring to when you say "content window."

This process can also be performed manually. wxMDIParentFrame has a standard child window which contains all of the visible MDI children. This standard child window is the one that needs to be added as the center pane in wxAUI.

Did I understand your question correctly?

Ben
User avatar
Ben
Kirix Support Team
 
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Return to wxAUI Questions, Thoughts & Feedback