Kirix Support Forums

floating panes in MDI

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

floating panes in MDI

Postby swmp on Wed May 17, 2006 10:00 pm

I am using the wxAui in the childframe(wxMDIChildFrame) of MDI, is there a way to make the floating panes only float on its parent but not the whole MDI interface ?

thx very much !!!
swmp
Registered User
 
Posts: 7
Joined: Thu Apr 06, 2006 12:23 am

Postby Ben on Thu May 18, 2006 3:48 am

I'm not sure what your setup really looks like. Can you post a screenshot? the mini frame that we use definitely floats above the top level window that it is a child of. Once I have a better mental picture of what you are trying to accomplish I can give you a more specific answer.

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

Postby swmp on Thu May 18, 2006 4:55 am

Image
Image

I have read the code of wxAUI, and known that the floating pane(wxFloatingPane) is derived from wxFrame or wxMiniFrame (both are topLevelWindow).
so I have no idea how to do that .

thanks very much!

swmp
swmp
Registered User
 
Posts: 7
Joined: Thu Apr 06, 2006 12:23 am

Postby Ben on Mon May 22, 2006 3:01 am

Hello,

From what I undetrstand about floating miniframes, it's only possible to make them stay on top of their top-level parent frame. Because MDI child windows are not top level windows, it would be very difficult to get them to float the way you want.

I hope you are able to find a solution to your problem.

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

Postby swmp on Tue May 23, 2006 1:46 am

I'll try, and have two direction
1. make a frame which is not a top level window.
2. make the floating pane as a wxPane or sth wxWindow .

thx

-swmp
swmp
Registered User
 
Posts: 7
Joined: Thu Apr 06, 2006 12:23 am

Return to wxAUI Questions, Thoughts & Feedback