auiManager pane.Hide() works greate, pane.Show() ... not so great

I have an app that opens various images and I’d like to maximise the pane with the image. I trapped the aui event for maximising a pane and found all panes that were floating in order to Hide() them. No problem.
However on restoring the maximised frame I went through all the panes that were no longer shown and pane.Show() 'ed them. The panes stayed invisible. What I do get is a brief flicker on the screen where the floating panes were before they disappear.
I’m pretty sure I’m doing something amiss here - I just can’t figure out what.
Any help appreciated …

code attatched hopefully …

show code snippet.txt (1.55 KB)

Still working on this and have tried minimising the panes when the image pane is maximised. Minimising works fine but I can’t seem to restore the minimised panes when the image pane is restored. Temporary workround … I dock all floating panes when the image pane is maximised and then refloat them on restore …

···

On Sunday, December 8, 2013 5:52:55 PM UTC+1, Bambleweeny wrote:

I have an app that opens various images and I’d like to maximise the pane with the image. I trapped the aui event for maximising a pane and found all panes that were floating in order to Hide() them. No problem.
However on restoring the maximised frame I went through all the panes that were no longer shown and pane.Show() 'ed them. The panes stayed invisible. What I do get is a brief flicker on the screen where the floating panes were before they disappear.
I’m pretty sure I’m doing something amiss here - I just can’t figure out what.
Any help appreciated …

code attatched hopefully …