Dynamic Splitter window to Split a MDI Child Window into Panes
-
Hi, I am not 100% sure if this has been answered elsewhere, I did some searches both in the Code Project Articles and Message Boards and Google, but don't feel I've come across my answer yet. May have been something I missed. I have an IDE-style application which includes a text editor window. The interface is Tabbed MDI and I already have that implemented by Weifen Luo's excelent WinForms.Docking library. Each MDI child window in my program contains an instance of the ICSharpCode.TextEditor control. I know that the ICSharpCode.TextEditor control provides a splitter, but the UI is not quite what I am looking for. What I want to do is add dynamic splitters, a la the MFC documentation's definition: "A dynamic splitter window typically is used to create and scroll a number of individual panes, or views, of the same document. The framework automatically creates an initial pane for the splitter; then the framework creates, resizes, and disposes of additional panes as the user operates the splitter window's controls." How can I do the same thing in C# Windows Forms? You know what I am talking about...for a CSplitterWnd with 2 columns and 2 rows, the window would start off unsplit, with a little tiny button above the top of the vertical scroll bar and a little tiny button to the left of the left edge of the horizontal scroll bar, and then you can drag either button to turn it into a full-fledged splitter bar and split the window into up to 4 "panes." Any hints on how I might accomplish this? I am brewing my own Java IDE, that's why I am asking. Thank you!
Sincerely Yours, Brian Hart
-
Hi, I am not 100% sure if this has been answered elsewhere, I did some searches both in the Code Project Articles and Message Boards and Google, but don't feel I've come across my answer yet. May have been something I missed. I have an IDE-style application which includes a text editor window. The interface is Tabbed MDI and I already have that implemented by Weifen Luo's excelent WinForms.Docking library. Each MDI child window in my program contains an instance of the ICSharpCode.TextEditor control. I know that the ICSharpCode.TextEditor control provides a splitter, but the UI is not quite what I am looking for. What I want to do is add dynamic splitters, a la the MFC documentation's definition: "A dynamic splitter window typically is used to create and scroll a number of individual panes, or views, of the same document. The framework automatically creates an initial pane for the splitter; then the framework creates, resizes, and disposes of additional panes as the user operates the splitter window's controls." How can I do the same thing in C# Windows Forms? You know what I am talking about...for a CSplitterWnd with 2 columns and 2 rows, the window would start off unsplit, with a little tiny button above the top of the vertical scroll bar and a little tiny button to the left of the left edge of the horizontal scroll bar, and then you can drag either button to turn it into a full-fledged splitter bar and split the window into up to 4 "panes." Any hints on how I might accomplish this? I am brewing my own Java IDE, that's why I am asking. Thank you!
Sincerely Yours, Brian Hart
-
If you are using ICSharpCode.TextEditor, the only way you can do it is with ICSharpCode.TextEditor. I use this control in my app but not sure if it has splitter feature.
I know but as I said, it doesn't do the splitter quite the way I want. I want the little handles the user can drag which rest on top of and to the left of the vertical and horizontal scroll bars, respectively, and then if you drag them they split the window
Sincerely Yours, Brian Hart
-
I know but as I said, it doesn't do the splitter quite the way I want. I want the little handles the user can drag which rest on top of and to the left of the vertical and horizontal scroll bars, respectively, and then if you drag them they split the window
Sincerely Yours, Brian Hart