can mdi be embedded in aui ?
Harry
harry dot news at armadillo dot fr
Wed Apr 16 06:15:05 PDT 2008
Brian,
Many thanks, it really works !
This is quite sneaky: letting aui manage the mdi parent-frame and
limiting the mdi display
to only the center pane of its own window !
Will wonders never cease ...
Regards
Harry
Brian Gaynor wrote:
> I used MDI and AUI to get managed panes surrounding a central MDI area
> (i.e. Visual-Studio like). I derived my frame from wxMDIParentFrame. In
> the frame constructor the AUI manager is told to manager the frame:
>
> m_mgr.SetManagedWindow(this);
>
> Then I make the MDI client window the AUI center pane (this may wrap):
>
> m_mgr.AddPane(GetClientWindow(),
> wxAUIPaneInfo().Name(wxT("Images").CenterPane().PaneBorder(false));
>
> managed panes are added in a similar fashion.
>
> Brian
>
>
More information about the wx-users
mailing list