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. multi column list box

multi column list box

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
4 Posts 4 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.
  • P Offline
    P Offline
    parichaybp
    wrote on last edited by
    #1

    Hi , Can anyone tell me how to create 2 column List Box with default fields and in the 2nd column with variables which can passed during runtime. (1st column) (2nd column) Property | Value Location Word count Document count File size Last Updated Created Please tell how to declare the default values in the 1st column ?? Regards, Parichay BP

    N H D 3 Replies Last reply
    0
    • P parichaybp

      Hi , Can anyone tell me how to create 2 column List Box with default fields and in the 2nd column with variables which can passed during runtime. (1st column) (2nd column) Property | Value Location Word count Document count File size Last Updated Created Please tell how to declare the default values in the 1st column ?? Regards, Parichay BP

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      A better option would be CListCtrl.


      Nibu thomas Software Developer

      1 Reply Last reply
      0
      • P parichaybp

        Hi , Can anyone tell me how to create 2 column List Box with default fields and in the 2nd column with variables which can passed during runtime. (1st column) (2nd column) Property | Value Location Word count Document count File size Last Updated Created Please tell how to declare the default values in the 1st column ?? Regards, Parichay BP

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

        Hi parichaybp, (Nibu thomas wrote CListCtrl) yes it's a good way and (me ssugestion CListCtrl) anyway maybe it is some helpful to you http://www.codeproject.com/combobox/CustomListBox_Article.asp[^]

        1 Reply Last reply
        0
        • P parichaybp

          Hi , Can anyone tell me how to create 2 column List Box with default fields and in the 2nd column with variables which can passed during runtime. (1st column) (2nd column) Property | Value Location Word count Document count File size Last Updated Created Please tell how to declare the default values in the 1st column ?? Regards, Parichay BP

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          First, make sure that the control has the LBS_USETABSTOPS style. Second, when adding items to it, separate them with a '\t' character. Last, read MSDN article Q66240.


          "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

          "There is no death, only a change of worlds." - Native American Proverb

          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