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. Managed C++/CLI
  4. TreelistView c++/cli

TreelistView c++/cli

Scheduled Pinned Locked Moved Managed C++/CLI
c++
11 Posts 4 Posters 60 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.
  • T Temblor

    hi guys im working on c++/ cli project and i need something like objectlistview of TreelistView so i can display treeview with multi columns

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

    Something like TreeListView Class | WPF Controls | DevExpress Documentation[^] maybe.

    T 1 Reply Last reply
    0
    • L Lost User

      Something like TreeListView Class | WPF Controls | DevExpress Documentation[^] maybe.

      T Offline
      T Offline
      Temblor
      wrote on last edited by
      #3

      devexpress doesnt support c++/cli

      L 1 Reply Last reply
      0
      • T Temblor

        devexpress doesnt support c++/cli

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

        Sorry, but that was all I could find. You could probably do a more focused search, since you know your exact requirements.

        1 Reply Last reply
        0
        • T Temblor

          hi guys im working on c++/ cli project and i need something like objectlistview of TreelistView so i can display treeview with multi columns

          J Offline
          J Offline
          jschell
          wrote on last edited by
          #5

          Temblor wrote:

          cli project...TreelistView

          So 'cli' is command line interface. So a CUI for a tree list view? My take is you have three options. 1. Get different requirements so it is not needed at all. 2. The tree is going to be very shallow. And probably very short. So roll your own. 3. This isn't going to work. Why the third? For example sometimes I recurse a directory tree via the command line looking for files or even all files. I can certainly view that in a console but it is basically worthless because there is so much data. Even if I am just looking for one specific file I still need a search mechanism. So I route to a file and then use an editor to search. But lets say you are not looking for a actual file system. So what is the growth rate of this tree? If it is shallow and small in 10 years rolling your own still works. And the users can use it. But if your growth rate is not small then in 10 years the users will have something they can't use. If I was asked to do this and I already knew that the tree was not small then I would push back on the requirements. In writing (like email.) And if they insisted I would first make a copy of that email and my response. Then I would just roll my own (still not that hard.) It would be their problem when it was unusable. But I might use a demo with data from 10 years from now - just so they can see what is going to happen.

          P T L 3 Replies Last reply
          0
          • J jschell

            Temblor wrote:

            cli project...TreelistView

            So 'cli' is command line interface. So a CUI for a tree list view? My take is you have three options. 1. Get different requirements so it is not needed at all. 2. The tree is going to be very shallow. And probably very short. So roll your own. 3. This isn't going to work. Why the third? For example sometimes I recurse a directory tree via the command line looking for files or even all files. I can certainly view that in a console but it is basically worthless because there is so much data. Even if I am just looking for one specific file I still need a search mechanism. So I route to a file and then use an editor to search. But lets say you are not looking for a actual file system. So what is the growth rate of this tree? If it is shallow and small in 10 years rolling your own still works. And the users can use it. But if your growth rate is not small then in 10 years the users will have something they can't use. If I was asked to do this and I already knew that the tree was not small then I would push back on the requirements. In writing (like email.) And if they insisted I would first make a copy of that email and my response. Then I would just roll my own (still not that hard.) It would be their problem when it was unusable. But I might use a demo with data from 10 years from now - just so they can see what is going to happen.

            P Offline
            P Offline
            Peter_in_2780
            wrote on last edited by
            #6

            jschell wrote:

            So 'cli' is command line interface.

            No. See .NET programming with C++/CLI | Microsoft Learn[^] for example. It's some bastardisation of "Interface to CLR (Common Language Runtime)".

            Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

            1 Reply Last reply
            0
            • J jschell

              Temblor wrote:

              cli project...TreelistView

              So 'cli' is command line interface. So a CUI for a tree list view? My take is you have three options. 1. Get different requirements so it is not needed at all. 2. The tree is going to be very shallow. And probably very short. So roll your own. 3. This isn't going to work. Why the third? For example sometimes I recurse a directory tree via the command line looking for files or even all files. I can certainly view that in a console but it is basically worthless because there is so much data. Even if I am just looking for one specific file I still need a search mechanism. So I route to a file and then use an editor to search. But lets say you are not looking for a actual file system. So what is the growth rate of this tree? If it is shallow and small in 10 years rolling your own still works. And the users can use it. But if your growth rate is not small then in 10 years the users will have something they can't use. If I was asked to do this and I already knew that the tree was not small then I would push back on the requirements. In writing (like email.) And if they insisted I would first make a copy of that email and my response. Then I would just roll my own (still not that hard.) It would be their problem when it was unusable. But I might use a demo with data from 10 years from now - just so they can see what is going to happen.

              T Offline
              T Offline
              Temblor
              wrote on last edited by
              #7

              let explain some inf I succeed in displaying sql data in a treeView all i need now is another column so i can display another data like (balance) in it something like objectListView it's not for showing system files btw I saw some devs made what you taking about (file system in treeView) in C++ / MFC

              1 Reply Last reply
              0
              • J jschell

                Temblor wrote:

                cli project...TreelistView

                So 'cli' is command line interface. So a CUI for a tree list view? My take is you have three options. 1. Get different requirements so it is not needed at all. 2. The tree is going to be very shallow. And probably very short. So roll your own. 3. This isn't going to work. Why the third? For example sometimes I recurse a directory tree via the command line looking for files or even all files. I can certainly view that in a console but it is basically worthless because there is so much data. Even if I am just looking for one specific file I still need a search mechanism. So I route to a file and then use an editor to search. But lets say you are not looking for a actual file system. So what is the growth rate of this tree? If it is shallow and small in 10 years rolling your own still works. And the users can use it. But if your growth rate is not small then in 10 years the users will have something they can't use. If I was asked to do this and I already knew that the tree was not small then I would push back on the requirements. In writing (like email.) And if they insisted I would first make a copy of that email and my response. Then I would just roll my own (still not that hard.) It would be their problem when it was unusable. But I might use a demo with data from 10 years from now - just so they can see what is going to happen.

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

                jschell wrote:

                cli project... So 'cli' is command line interface.

                The forum, title, and indeed the question specifically stated c++/cli, which is the C++ version of code that compiles into .NET IL.

                J 1 Reply Last reply
                0
                • T Temblor

                  hi guys im working on c++/ cli project and i need something like objectlistview of TreelistView so i can display treeview with multi columns

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

                  "Columns" are an illusion. If you only have "one column / item / field" (that you can identify), concatenate multiple fields together (as strings) with padding and / or a "separator" (e.g. "|")

                  "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

                  1 Reply Last reply
                  0
                  • L Lost User

                    jschell wrote:

                    cli project... So 'cli' is command line interface.

                    The forum, title, and indeed the question specifically stated c++/cli, which is the C++ version of code that compiles into .NET IL.

                    J Offline
                    J Offline
                    jschell
                    wrote on last edited by
                    #10

                    ok

                    1 Reply Last reply
                    0
                    • T Temblor

                      hi guys im working on c++/ cli project and i need something like objectlistview of TreelistView so i can display treeview with multi columns

                      T Offline
                      T Offline
                      Temblor
                      wrote on last edited by
                      #11

                      FINALLY I MADE IT ;)

                      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