Kirix Support Forums

How to dock a new window to a specified location

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

How to dock a new window to a specified location

Postby Alad on Sat Mar 18, 2006 3:47 am

wxAUI is a great UI manager, but I have one problem here: how to dock a new window to a specified location with expected size?

I am writing a function like "New Horizontal Tab Group". I created a new window and I expected that the old window and the new one are the same size.

Firstly, I modified the wxPaneInfo::rect of both windows, but the new window was always located on the right most side (if I set it to right dock) with only 20 pixels width and the old "CenterPane" took up most client area. I tried InsertPane but still cannot get it. Setting "BestSize" doesn't work too.

Is there any way to realize my idea? Thanks
Alad
Registered User
 
Posts: 1
Joined: Fri Feb 10, 2006 2:28 am

Return to wxAUI Questions, Thoughts & Feedback