mdi

How to uses a ToolStripContainer whith Dock=Fill on a MDI parent?

天大地大妈咪最大 提交于 2019-12-13 18:15:28
问题 How to uses a ToolStripContainer whith Dock=Fill on a MDI parent???... When I drop a ToolStripContainer on a MDI parent and assing fill to a property Dock it hide all the MDI children. thanks... 回答1: try adding the MDI child form to the ToolStripContainer : toolStripContainer1.ContentPanel.Controls.Add(frm); 回答2: the MDILayout doesn't work on the child forms 来源: https://stackoverflow.com/questions/1703959/how-to-uses-a-toolstripcontainer-whith-dock-fill-on-a-mdi-parent

Java - How to make a set of JInternalFrame independant of each other?

我怕爱的太早我们不能终老 提交于 2019-12-13 17:57:57
问题 I'm programming a short Paint program like and I'm trying to make an MDI architecture for it. To make that happen, I used JInternalFrame inside a JDesktopPane. Although I kind of obtain multiple frames, there are not really working properly. Basically, if I have 2 JInternalFrame I can draw only on the last one. The other one seems to be disabled. Here is a short video illustrating the problem. http://bit.ly/9ydiwM Here are some part of the code. Panneau.java public class Panneau extends

My MDI isn't starting right

早过忘川 提交于 2019-12-13 07:59:33
问题 My C# MDI Application starts in program.cs, which looks like this: namespace APRSTW { static class Program { public static Form parentForm; /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); parentForm = new MainAPRSTW();//<-so I can reference this form as a parent in other .cs files. Application.Run(parentForm); } } } The constructor for MainAPRSTW

MDI child window and status bar C win32 API [closed]

一笑奈何 提交于 2019-12-13 07:53:54
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed last year . I am creating an MDI Child Window after selecting " File -> Open " Menu. In the "Open" switch statement I have the window creation function HWND hwndChild = CreateWindowEx(WS_EX_MDICHILD, childClass, "MDI child", WS_CLIPCHILDREN, 0, 0, 400, 300, hWndClient, MAKEINTRESOURCE(IDM_FIRSTCHILD),

Try to implement global keyboard shortcut in MDI parent/child form and other form by using ProcessCmdKey

这一生的挚爱 提交于 2019-12-12 21:17:08
问题 I override ProcessCmdKey() in my MDI parent form class and have some keyboard shortcut calling method in same class. But I wish to make these hotkeys working in parent/child form and other form. The case now is when focus on the other form(regular form, not MDI), ProcessCmdKey() doesn't capture keyboard anymore. Which class should I put ProcessCmdKey() in and anything to make it work? Thanks! namespace myNamespace { public class MDIParent : System.Windows.Forms.Form { public bool NextTab(){..

vb.net mdi child title bar not hiding

纵饮孤独 提交于 2019-12-12 11:10:58
问题 I have an issue hiding the title bar of a mdi child form in maximized state within a mdi parent form in .NET. Here's what I have at design & run time: Here is the new() of my MDI child form: Public Sub New(ByRef pParent As Form) MyBase.New() Me.MdiParent = pParent fParent = pParent Me.Text = "" Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None Me.WindowState = FormWindowState.Normal Me.MinimizeBox = False Me.MaximizeBox = False Me.ControlBox = False Me.ShowIcon = False Me.ShowInTaskbar

Delphi MDI application with components shared using pointers

我的梦境 提交于 2019-12-12 05:49:59
问题 I am developing an MDI application (Delphi 7) that will load .bpl packages in the form of plugins as the MDI children. Only one instance of a plugin can be opened, but obviously multiple plugins can be opened simultaneously. I have a class which is a common class that is used to 'share' certain components available on the MDI parent. I achieve this by having the common class store a pointer to each relevant component when it is constructed. For example: ... TCommonClass = class(TObject)

ShowDialog in mdi

寵の児 提交于 2019-12-12 04:44:51
问题 I need to open with Showdialog() in mdi form because I need to stop code until the mdichild finish. The structure of program is this, I open a mdichild in onCreate of this I instead the class and in the constructor I open de SearchForm There's the code: frm_bsq_persona busqueda_persona = new frm_bsq_persona(); busqueda_persona.MdiParent = this.MdiParent.MdiParent; busqueda_persona.Show(); Thank you very much. 回答1: MDI child as dialog form (MDI modal workaround) http://www.codeproject.com

Opening child form is causing mdiform to change size and shrink

十年热恋 提交于 2019-12-12 03:24:35
问题 I am having a basic problem opening a child form in an mdiForm. Dim frm As New Form1 frm.MdiParent = Me frm.Show() I have some code in the Form-Load event of the child form to open up connection to access db (connection opens fine). Try conn.Open() catch ex As Exception Msgbox("connection error") End Try MdiForm is set to open up in a Maximized state. When the app runs, mdiForm opens up normal and the Menustrip looks normal size as well. However, when I try to open up a child form (Form1 in

MDI Form issue VB:NET

落花浮王杯 提交于 2019-12-12 02:45:41
问题 Hy today i have some problems with the Panel Control and MDI Child Forms, My problem is that I can not set the panel control to back of child forms. My head is spinning trying to solve this problem. 回答1: It looks like you added your Panel to your ParentForm, doing so will keep on top. You need to Assign it to a ChildForm. One of your other options would be to create a dockable panel and dock it on the side of your parent. Take a look at these articles http://bytes.com/topic/visual-basic-net