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. Docking a window

Docking a window

Scheduled Pinned Locked Moved Windows Forms
3 Posts 3 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.
  • E Offline
    E Offline
    erarocks
    wrote on last edited by
    #1

    Hi All, I'm having trouble docking a window which should automatically fixed to the top, right and left edges of a one half of a SplitContainer when it opens. The child window should open when I click an option from a TreeView that I'm having in the other part of the SplitContainer. Thanx in advance. Era

    R L 2 Replies Last reply
    0
    • E erarocks

      Hi All, I'm having trouble docking a window which should automatically fixed to the top, right and left edges of a one half of a SplitContainer when it opens. The child window should open when I click an option from a TreeView that I'm having in the other part of the SplitContainer. Thanx in advance. Era

      R Offline
      R Offline
      Rajasekharan Vengalil
      wrote on last edited by
      #2

      erarocks wrote:

      I'm having trouble docking a window

      What exactly is the trouble?

      -- gleat http://blogorama.nerdworks.in[^] --

      1 Reply Last reply
      0
      • E erarocks

        Hi All, I'm having trouble docking a window which should automatically fixed to the top, right and left edges of a one half of a SplitContainer when it opens. The child window should open when I click an option from a TreeView that I'm having in the other part of the SplitContainer. Thanx in advance. Era

        L Offline
        L Offline
        LongRange Shooter
        wrote on last edited by
        #3

        You do not very clearly describe exactly what it is that you are trying to do. If I read this correctly then it appears that what you are doing is this: left side has a treeview with items in it. when you click on a value in the treeview you populate the other side with a control that is populated with the data related to the value chosen in the treeview. I also am guessing that the problem is that the user control doesn't dock in the other side of the SplitContainer. It is up to YOU to do that. Do the same thing programmatically that you would do in the designer. 1) put control into container 2) tell the control how you want it docked. ... era does not rock if era cannot clearly explain his problem.

        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