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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Is it possible to hide a column of a Clist control?

Is it possible to hide a column of a Clist control?

Scheduled Pinned Locked Moved C / C++ / MFC
questionlearning
5 Posts 5 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.
  • M Offline
    M Offline
    Md Ali Naser Khan
    wrote on last edited by
    #1

    I have a list control of CListCtrl type and it has 3 columns. I want to hide the first column(of course, it will work internally). Is it possible?

    D N M H 4 Replies Last reply
    0
    • M Md Ali Naser Khan

      I have a list control of CListCtrl type and it has 3 columns. I want to hide the first column(of course, it will work internally). Is it possible?

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

      Just out of curiosity, why do you need/want to do this?


      "A good athlete is the result of a good and worthy opponent." - David Crow

      "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

      1 Reply Last reply
      0
      • M Md Ali Naser Khan

        I have a list control of CListCtrl type and it has 3 columns. I want to hide the first column(of course, it will work internally). Is it possible?

        N Offline
        N Offline
        Nishad S
        wrote on last edited by
        #3

        Cant you make it of zero width?

        - NS -

        1 Reply Last reply
        0
        • M Md Ali Naser Khan

          I have a list control of CListCtrl type and it has 3 columns. I want to hide the first column(of course, it will work internally). Is it possible?

          M Offline
          M Offline
          Manfred Staiger
          wrote on last edited by
          #4

          How about setting the width of that column to zero?

          MS

          1 Reply Last reply
          0
          • M Md Ali Naser Khan

            I have a list control of CListCtrl type and it has 3 columns. I want to hide the first column(of course, it will work internally). Is it possible?

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

            Can you more explain why you need to do 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