Hello,
I'm using a wxAuiManager with a pane that can float and can be docked. When it is docked on the whole height of its parent, it is OK since its height is available to correctly manage the scroll bar of the panel embedded in the pane:
But I remarked that it can also be docked at any arbitrary height of its parent like this:
In this case, is it possible to get the pane height (I couldn't find this)? If not, is it possible to prevent this arbitrary height docking?
Many thanks for your help,
Pascal
Docked pane status using a wxAuiManager
Re: Docked pane status using a wxAuiManager
I don't know much about wxAUI, but looking through the API, i found "wxAuiManager::ProcessDockResult" which should be helpful. https://docs.wxwidgets.org/trunk/classw ... db88c0ef91
With wxAuiPaneInfo::window gives you access to the pane dimensions.
With wxAuiPaneInfo::window gives you access to the pane dimensions.
Use the source, Luke!
Re: Docked pane status using a wxAuiManager
Dear Doublemax,
What a brilliant idea! I missed the right information but you didn't.
Actually, I didn't find it in the window member but right next to it in the rect member.
You really made my day as you can see with the right scrollbar below.
With my grateful thanks,
Pascal
What a brilliant idea! I missed the right information but you didn't.
Actually, I didn't find it in the window member but right next to it in the rect member.
You really made my day as you can see with the right scrollbar below.
With my grateful thanks,
Pascal