mdi

Be active a child form by giving its name or its text in c#

Hello, I have a Parent form with some child forms. Imagine some of these child forms are opened and their name or their text are shown in a something like tabpage. now when i click on a tab page ,the related form must be active. What can i do? Thanks. ...

Free Windows form MDI based Ribbon

I am looking for Ribbon which supported MDI. No matter for windows form or wpf. Thanks in advance for help ...

How to get default Ctrl+Tab functionality in WinForms MDI app when hosting WPF UserControls

I have a WinForms based app with traditional MDI implementation within it except that I'm hosting WPF based UserControls via the ElementHost control as the main content for each of my MDI children. This is the solution recommended by Microsoft for achieving MDI with WPF although there are various side effects unfortunately. One of which ...

QT4 - MDI model or Dock Windows?

Greetings, In the QT application we develop we need to display several 'Viewer windows'(to display data in XY plane ,YX plane,XZ plane and in 3D). We were hoping to use MDI application model ,but later client asked for a requirement to drag and view 'Viewer windows' in multiple desktops.(using multiple monitors). This can not be done u...

MDI in SWT on Linux??!

I'd like to create an MDI application using SWT. I've done extensive searches and reach that the Decorations Object is the one responsable for trying supporting behavior. However, I've a Linux box, and the example provided here: http://java-gui.info/Apress-The.Definitive.Guide.to.SWT.and.JFace/8886final/LiB0070.html#ch08fig02 doesn't wo...

Cascade the MDI forms of a Splitter panel

I am showing my MDI windows inside the main form but in one part of the splitter panel, like this: Form2 f2= new Form2(); f2.MdiParent = this; f2.Parent = this.splitContainer2.Panel2; f2.Show(); but the problem is that I cannot cascade them if I write a code like this: this.LayoutMdi(System.Windows.Forms.MdiLayout.Cas...

Wait for MDI child to close, similar to ShowDialog()

I've got a MDI-Application in which I'd like to use modal dialogs...yes, I know that this is a little against the principles if MDI...anyway, my main window is more of a 'workspace' then anything else. Back to topic, how can I wait for an MDI-Child to close? Some example code: public void DoSomething() { String searchterm = this....

.NET MDI child form suppress/hide caption/icon area

I have a subform (child) that I want to use in a number of parents. I'm not a professional developer (I'm an architect - I know, you can save all the jokes... :) - working solo at present). I've ended up using an MDI form with the subform as a child. I maximize the subform form and most things are fine except that although I've tried ...

Side menu in window form in .net

How do I create side menu in .net windows application? Is there any possible way to implement this using MDI or should I use some kind of splitter control? Or if you may know to do it with devexpress control, it would be nice too. ...

ShowModal should disable parent window or what?

Hi, I am using wxwindgets 2.8.7 on C++. There is a parent frame which is derived from wxMDIParentFrame and from that frame, there is a call to a message dialog with ShowModal. ... dlg->showModal(); ... In other parent windows, showModal disables the parent window but in this mdi window, it is still enabled somehow. I want th...

gotfocus() mdi child windows question (winforms)

I have a mdi and 3 child windows. The program start with an empty mdi. With a menu you can open each child window once. When i open for example 2 windows. And close the one on top. The one left(the window under the one i closed) should get focus. How can i manage this? why i need this? each childwindow has a event gotFocus. Depending ...

How to add MenuItems when MDI children are merging their menus

I have a menu with a 'Windows' list that contains all mdi children thanks to the MdiList property. However there are other windows that are not inside the MDI container which I want to list in the menu. I can easily add them to the menu, but a problem arises when one of the MDI children has a menu. The menus are merged, but the menu b...

c# main menu and mdi forms

Hi there. So far in my life, as a .net developer, I have made heavy use of mdi forms to display particular "menu points" such as for instance "module 1" "module 2" and so on. I have been doing this the following way: create a parent form with "isMdiContainer" set to "true" create a menu strip in in the mdi container create a child for...

Merging MDI toolbar

In .net MDI application the menu of child form automatically is merged to the menu of parent form. Is there a way to do similar thing with the tool bars.The concept is to send the toolbar of active child to the parent toolbar stripe. I found http://community.devexpress.com/forums/p/5696/24663.aspx but could not achied it. ...

detect if the scrollbars of a form are visible in an mdi child

I cannot detect if the scrollbars of a form are visible. Googleing the Internet shows that the code below should work. Everybody uses it: function VertScrollBarVisible(WindowHandle: THandle): Boolean; begin Result:= (GetWindowlong(WindowHandle, GWL_STYLE) AND WS_VSCROLL) <> 0 end; I call it like this: procedure TFrmBaser.Button1Cl...

How to make an single instance form

I have a mdicontainer form that summons forms. My problem is when the a user clicks again the menu for that form, it also make another instance of it. What I did is declare a public class with a public variable on it ex: Boolean isFormOneOpen = false. Then every time formOne opens, it checks first the global variable I declared a while...

.Net MDIForm eating usercontrol keydown events

Hi Guys, I wonder if any one has experienced the following issue and can give me some pointers. We have an MID form with Cut, Copy, Paste, and Delete child menu items of a menuItem called Edit. Each of these child menu items has the ShortcutKeys property set with CTRL+X, CTRL+C, CTL+V, and Del, respectively. The short cut key and combi...

C# mdi does not work properly

Hi, I have a C# mdi app. My problem appears whenever i open a child window: that child window somehow slides under the menu strip of the main form(mdi container) but only for the first time; when that window is back in foreground it arranges itself ok. The app is coded something like this, this is the main form(mdi container) which has...

Controlling the placement of fsMDIChild windows in Delphi

How do I control the placement of an MDI child window (FormStyle := fsMDIChild) in Delphi or C++Builder? I know that I can set Left, Top, Position, and so on, but for an MDI child in particular, these don't take effect until after the window has already been created and shown in its default location. The result is that creating and pos...

WPF -- Docking Inside MDI

I am not sure it is an appropriate question. But how to do docking inside a MDI. I have one control and I want this control can be dock able inside my MDI. I am using WPF VS 2010 with C#. Any thoughts. Thanks In Advance ...