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. Problem with list controll [modified]

Problem with list controll [modified]

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

    Hi all, I have disabled my grid lines of ListCtrl, so that it is not visible now.But I need to draw a border line(should be splitted line) between some items ie my listCtrl will looks like this col1 col2 col3 col4 col5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 And also I dont want to show the partition lies between the column heading Can anybody tell a solution to this, Thanks in Advance George K JOlly -- modified at 2:27 Thursday 24th August, 2006

    R J 2 Replies Last reply
    0
    • G georgekjolly

      Hi all, I have disabled my grid lines of ListCtrl, so that it is not visible now.But I need to draw a border line(should be splitted line) between some items ie my listCtrl will looks like this col1 col2 col3 col4 col5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 And also I dont want to show the partition lies between the column heading Can anybody tell a solution to this, Thanks in Advance George K JOlly -- modified at 2:27 Thursday 24th August, 2006

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #2

      I see two solutions: 1. Make an ownerdrawn control derived from the CListCtrl. 2. Use a grid control

      ~RaGE();

      I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

      G 1 Reply Last reply
      0
      • G georgekjolly

        Hi all, I have disabled my grid lines of ListCtrl, so that it is not visible now.But I need to draw a border line(should be splitted line) between some items ie my listCtrl will looks like this col1 col2 col3 col4 col5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 itm1 itm2 | itm3 itm4 itm5 And also I dont want to show the partition lies between the column heading Can anybody tell a solution to this, Thanks in Advance George K JOlly -- modified at 2:27 Thursday 24th August, 2006

        J Offline
        J Offline
        Justin Tay
        wrote on last edited by
        #3

        Another solution would be to use customdraw.

        1 Reply Last reply
        0
        • R Rage

          I see two solutions: 1. Make an ownerdrawn control derived from the CListCtrl. 2. Use a grid control

          ~RaGE();

          I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

          G Offline
          G Offline
          georgekjolly
          wrote on last edited by
          #4

          Hi Rage, How can i make an ownerdrawn listcontrol, Thanks George K Jolly

          R H 3 Replies Last reply
          0
          • G georgekjolly

            Hi Rage, How can i make an ownerdrawn listcontrol, Thanks George K Jolly

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

            Have a look at these articles : http://www.codeproject.com/listctrl/[^]

            ~RaGE();

            I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

            1 Reply Last reply
            0
            • G georgekjolly

              Hi Rage, How can i make an ownerdrawn listcontrol, Thanks George K Jolly

              R Offline
              R Offline
              Rage
              wrote on last edited by
              #6

              Another one[^]

              ~RaGE();

              I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

              1 Reply Last reply
              0
              • G georgekjolly

                Hi Rage, How can i make an ownerdrawn listcontrol, Thanks George K Jolly

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

                See XListCtrl - A custom-draw list control with subitem formatting[^] maybe it is some helpful to you

                _**


                **_

                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