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. How I can add elements in multiple columns in a OWNER Drawn List box?

How I can add elements in multiple columns in a OWNER Drawn List box?

Scheduled Pinned Locked Moved C / C++ / MFC
9 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.
  • S Offline
    S Offline
    Sameer_Thakur
    wrote on last edited by
    #1

    Hi.. Any Suggestion? Thanks

    Sameer Thakur

    H 1 Reply Last reply
    0
    • S Sameer_Thakur

      Hi.. Any Suggestion? Thanks

      Sameer Thakur

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      Why you dont use of CListCtrl instead ListBox its flexible


      WhiteSky


      S 1 Reply Last reply
      0
      • H Hamid Taebi

        Why you dont use of CListCtrl instead ListBox its flexible


        WhiteSky


        S Offline
        S Offline
        Sameer_Thakur
        wrote on last edited by
        #3

        BCoz I have already used List box in my application and I am displaying images and string in it ;in a single column, but now I want to display the contents in multiple columns. Thanks

        Sameer Thakur

        H 1 Reply Last reply
        0
        • S Sameer_Thakur

          BCoz I have already used List box in my application and I am displaying images and string in it ;in a single column, but now I want to display the contents in multiple columns. Thanks

          Sameer Thakur

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          I said CListCtrl not CListBox


          WhiteSky


          S 1 Reply Last reply
          0
          • H Hamid Taebi

            I said CListCtrl not CListBox


            WhiteSky


            S Offline
            S Offline
            Sameer_Thakur
            wrote on last edited by
            #5

            Ya got it. But What I am trying to say is.... I have already developed an application with OWNER DRAWN List Box. But the concern is the elements are displayed in a single column....one below the other. Now the list contents are large in number, SO I want to minimize users efforts to scroll the list box by clicking on scroll arrows. I want to load the list box contents in multiple columns so that he can see more than one contents in a single row and will not have to scroll much. Thanks

            Sameer Thakur

            H 2 Replies Last reply
            0
            • S Sameer_Thakur

              Ya got it. But What I am trying to say is.... I have already developed an application with OWNER DRAWN List Box. But the concern is the elements are displayed in a single column....one below the other. Now the list contents are large in number, SO I want to minimize users efforts to scroll the list box by clicking on scroll arrows. I want to load the list box contents in multiple columns so that he can see more than one contents in a single row and will not have to scroll much. Thanks

              Sameer Thakur

              H Offline
              H Offline
              Hamid Taebi
              wrote on last edited by
              #6

              See Multiple Column List Box Custom Control[^]


              WhiteSky


              1 Reply Last reply
              0
              • S Sameer_Thakur

                Ya got it. But What I am trying to say is.... I have already developed an application with OWNER DRAWN List Box. But the concern is the elements are displayed in a single column....one below the other. Now the list contents are large in number, SO I want to minimize users efforts to scroll the list box by clicking on scroll arrows. I want to load the list box contents in multiple columns so that he can see more than one contents in a single row and will not have to scroll much. Thanks

                Sameer Thakur

                H Offline
                H Offline
                Hamid Taebi
                wrote on last edited by
                #7

                Is your problem solving? :-D


                WhiteSky


                S 1 Reply Last reply
                0
                • H Hamid Taebi

                  Is your problem solving? :-D


                  WhiteSky


                  S Offline
                  S Offline
                  Sameer_Thakur
                  wrote on last edited by
                  #8

                  No :(

                  Sameer Thakur

                  H 1 Reply Last reply
                  0
                  • S Sameer_Thakur

                    No :(

                    Sameer Thakur

                    H Offline
                    H Offline
                    Hamid Taebi
                    wrote on last edited by
                    #9

                    Why did you see that article not helpful


                    WhiteSky


                    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