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. C / C++ / MFC
  4. changing of views

changing of views

Scheduled Pinned Locked Moved C / C++ / MFC
data-structuresquestion
6 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.
  • R Offline
    R Offline
    radhika28
    wrote on last edited by
    #1

    I have a tree control in a form view.Now i want to change the views with in the form view by selecting the items in the tree control i.e,by selecting a item in the tree control the options related to that item should display(with in the form view itself).How can i do this. Thanks.

    I 1 Reply Last reply
    0
    • R radhika28

      I have a tree control in a form view.Now i want to change the views with in the form view by selecting the items in the tree control i.e,by selecting a item in the tree control the options related to that item should display(with in the form view itself).How can i do this. Thanks.

      I Offline
      I Offline
      Iain Clarke Warrior Programmer
      wrote on last edited by
      #2

      I would have a look at FormSwap, from 8 years ago... This article was written by Paul DiLascia in MSJ magazine. http://www.microsoft.com/msj/0998/c0998.aspx[^]

      R 1 Reply Last reply
      0
      • I Iain Clarke Warrior Programmer

        I would have a look at FormSwap, from 8 years ago... This article was written by Paul DiLascia in MSJ magazine. http://www.microsoft.com/msj/0998/c0998.aspx[^]

        R Offline
        R Offline
        radhika28
        wrote on last edited by
        #3

        Hi, Thanks for ur reply.It is nice,but i want to change the view with in the same splitter pane in which i have the tree control.I want to change the rest of the view except the tree control i.e, the tree control remains fixed at the same place and different buttons related to each selected tree item should be displayed.As a whole switching views with in a splitter pane consisting of tree control. Thanks.

        C 1 Reply Last reply
        0
        • R radhika28

          Hi, Thanks for ur reply.It is nice,but i want to change the view with in the same splitter pane in which i have the tree control.I want to change the rest of the view except the tree control i.e, the tree control remains fixed at the same place and different buttons related to each selected tree item should be displayed.As a whole switching views with in a splitter pane consisting of tree control. Thanks.

          C Offline
          C Offline
          cje
          wrote on last edited by
          #4

          I have a somewhat similar situation in that the right side of the view is actually a property sheet control (tree control fixed on the left) and I use the tree control to display different 'pages' of the property sheet. When a tree item is selected I simply call a SwitchPage rotuine to display the proper page. The property sheet doesn't display tabs or anything goofy so it is somewhat transparent to the user that the seperate views are actually property pages hope this helps

          cje

          R 1 Reply Last reply
          0
          • C cje

            I have a somewhat similar situation in that the right side of the view is actually a property sheet control (tree control fixed on the left) and I use the tree control to display different 'pages' of the property sheet. When a tree item is selected I simply call a SwitchPage rotuine to display the proper page. The property sheet doesn't display tabs or anything goofy so it is somewhat transparent to the user that the seperate views are actually property pages hope this helps

            cje

            R Offline
            R Offline
            radhika28
            wrote on last edited by
            #5

            Thanks.Is there any article based on the above concept.

            C 1 Reply Last reply
            0
            • R radhika28

              Thanks.Is there any article based on the above concept.

              C Offline
              C Offline
              cje
              wrote on last edited by
              #6

              not that I am aware of

              cje

              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