Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. Dynamic Splitter window to Split a MDI Child Window into Panes

Dynamic Splitter window to Split a MDI Child Window into Panes

Scheduled Pinned Locked Moved Windows Forms
csharpwinformsquestionc++java
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Brian C HartB Offline
    Brian C HartB Offline
    Brian C Hart
    wrote on last edited by
    #1

    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

    L 1 Reply Last reply
    0
    • Brian C HartB Brian C 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

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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.

      Brian C HartB 1 Reply Last reply
      0
      • L Lost User

        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.

        Brian C HartB Offline
        Brian C HartB Offline
        Brian C Hart
        wrote on last edited by
        #3

        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

        L 1 Reply Last reply
        0
        • Brian C HartB Brian C 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

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          I don't think this[^] is the complete answer, but it may point you in the right direction.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups