mdi form restricted within the parent form space

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Craig (Craig_at_discussions.microsoft.com)
Date: 03/18/05


Date: Fri, 18 Mar 2005 12:41:07 -0800

Is it possible to restrict where an mdi form can go within the parent
form....for example, what if I wanted the parent form to have a panel with a
listbox on the left hand side of the form......would it be possible to
somehow code it so that any mdi forms would not be allowed to be dragged over
the panel. (Or when cascaded, the mdi forms wouldn't overlap the panel?)



Relevant Pages

  • Moving the MdiClient area
    ... I programmatically moved the MdiClient of my MDI form to be nested ... inside a Panel so I can control the layout better. ... 3D border on the MdiClient using Interop. ... When trying to open MDI child forms, I first received an error about ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: how to instantiate a global class visible in whole application
    ... If the main parent form does so, then I would think the main parent form class would be a natural place to keep them. ... The MDI children would then just use their parent to access the Device instances. ... make a public static class within the application's namespace that handles maintenance of the Device instances. ... Device kvm = DevicesManager.DeviceFromIndex; ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: MDI gets FormClosing but non-Child forms also open do not.
    ... If you close the MDI, then, if your intention is truly to end the whole ... It's not a child of the MDI form, ... or FormClosing event of the MDI form that closes ...
    (microsoft.public.dotnet.languages.vb)
  • Re: MDI problem
    ... MonthCalendar, Clock, or just Panel. ... Child Form lays UNDER that Calendar, ... I don't know of any way that you can use the client area of an MDI ...
    (alt.comp.lang.borland-delphi)
  • Re: MDI application design
    ... > I have created Application that has MDI interface. ... > the toolbar. ... property on the MDI form for the active document form, ... The Tool bar/Menu can then reference the active document property on the ...
    (microsoft.public.dotnet.framework.windowsforms)