int panelSize (string PanelName, int &width, int &height, bool currentSize = false);
If you have a panel which has no layout, and you drag the panel to increase the size, panelsize() will always return the same value (I do understand the panel will not change its size, if there is no layout defined and you change the window size).
However, is there a way to obtain the 'window size' during runtime for an opened not-layouted panel?
Are you sure that you are using a panel without a layout and open it as a child panel?
A panel which has no layout cannot be resized if it is opened as child panel.
Best Regards
Leopold Knipp
Senior Support Specialist