View Single Post
 
Old August 10th, 2004, 04:25 AM
Thearon's Avatar
Thearon Thearon is offline
Wrox Author
 
Join Date: Dec 2003
Location: Fuquay Varina, NC, USA.
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

The problem you describe can be solved by adding your menus, toolbars, and then your statusbar. Then add a Panel control and set its Dock property to Fill. Next, add all of your other controls to the Panel control and arrange them to your satisfaction. Now when you hide a toolbar, the Panel control will automatically use the extra space that was taken by your toolbar and when you show your toolbar again, the Panel control will use less room.