coult the pgb be resized according to the params of the status bar?
ie withing MDIForm_Resize:
pgb.left = statusbar.left + X
pgb.width = statusbar.width - Y
So rather then relying on the size of the panel, you could rely on the size of the status bar.
Also, if one panel is set to autosize does this mean all the others are fixed? I don't have experience with sb, but if this is the case, then you can get all the information by just using the values from all the other panels.
Hopefully some of this rambling will inspire you...
Happy
Enter your message below
Sign in or Join us (it's free).