telescopic frames or dialogs Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
acen28
In need of some credit
In need of some credit
Posts: 9
Joined: Thu Nov 13, 2008 6:26 pm

telescopic frames or dialogs

Post by acen28 »

Hi,
I have a main frame (parent). I want that my other frames or dialogs are be able to open as child window in my main frame. I mean, when the user set minimize any child frame, it will minimize to my main frame (not taskbar or system tray).Shortly, I want to develope apps like MFC. I couldn't any sample about this. How can I do this with wxwidgets?(I use wx-Devcpp)

Thanks for helps.
timg
Earned some good credits
Earned some good credits
Posts: 148
Joined: Mon Jan 23, 2006 6:52 pm

Post by timg »

Did you look at the MDI sample in the samples directory?

I think this does what you want.
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg »

Be aware that the MDI interface as standard is abandoned my Microsoft, although still supported, it is ourdated. You should look at things like wxAUI which provide a more modern approach. Under Linux MDI is only emulated as tab windows so if your application is cross platform it might look silly. That is because MDI the way microsoft implemented it does not exist under Linux.

With regards,
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
NinjaNL
Moderator
Moderator
Posts: 899
Joined: Sun Oct 03, 2004 10:33 am
Location: Oosterwolde, Netherlands

Post by NinjaNL »

Jorg wrote: You should look at things like wxAUI which provide a more modern approach. Under Linux MDI is only emulated as tab windows so if your application is cross platform it might look silly.
And if you do use wxAUI then you might want to investigate my patch adding pane minimizing. It might serve as a starting point for your own implementation.

Mal
Follow the development of my screenplay authoring program at http://wxscreenplaywriter.blogspot.com/
Post Reply