dwlovell

dwlovell

  • NA
  • 1
  • 0

MDI application with fixed panes?

May 1 2005 11:10 AM
I am looking to create a MDI application where on the left I have a panel containing controls that are always visible. (Or perhaps resizable with a splitter). On the right side I would like to have my MDI workspace where I can load multiple different forms. When the MDI forms get maximized they should only maximize the space leftover by the left pane. The behavior should be similar to SQL query analyzer where the treeview of the DB explorer is always visible regardless how the MDI windows are arranged or maximized. There is a good tutorial for MDI on this site: http://www.c-sharpcorner.com/winforms/MDIAppsGAG.asp However this tutorial does not seem to cover what I want to do. I was hoping I could just create a Panel control and set it to be a MDI parent, but this does not seem to be possible. I also tried just adding a form as a subcontrol, but I got an error that a parent/toplevel form could not be added to another toplevel control. Anyone know how I can do this? Have examples?