child frame

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
dzd
Earned a small fee
Earned a small fee
Posts: 14
Joined: Wed Apr 20, 2005 1:38 pm
Location: Aberdeen Scotland

child frame

Post by dzd » Mon Apr 25, 2005 10:04 am

hi

maybe it is a sputid question,
but I've not find how to create child frame inside the main frame area...

Thanks.

User avatar
Ryan Norton
Moderator
Moderator
Posts: 1319
Joined: Mon Aug 30, 2004 6:01 pm

Re: child frame

Post by Ryan Norton » Mon Apr 25, 2005 4:25 pm

dzd wrote:hi

maybe it is a sputid question,
but I've not find how to create child frame inside the main frame area...

Thanks.
If you mean a wxFrame you can't do that because anything that is a wxTopLevelWindow cannot be inside another window (both wxFrame and wxDialog are a wxTopLevelWindow [wxTLW]).
[Mostly retired moderator, still check in to clean up some stuff]

upCASE
Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE » Tue Apr 26, 2005 6:08 am

Hi!
Maybe you meant an MDI child frame? Check the docs for wxMDI* classes.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda

Post Reply