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. DISABLE Row in List Ctrl [modified]

DISABLE Row in List Ctrl [modified]

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

    Hi All, is it possible to dISABLE a perticular row in a list control? -- modified at 5:45 Saturday 18th August, 2007

    W H 2 Replies Last reply
    0
    • S sheshidar

      Hi All, is it possible to dISABLE a perticular row in a list control? -- modified at 5:45 Saturday 18th August, 2007

      W Offline
      W Offline
      Waldermort
      wrote on last edited by
      #2

      Why hide a row when you can just delete it? When you populate the list, an idea might be to have a flag for each row checking if it's visible or not.

      S 1 Reply Last reply
      0
      • W Waldermort

        Why hide a row when you can just delete it? When you populate the list, an idea might be to have a flag for each row checking if it's visible or not.

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

        i mean i wnat to disable that row..

        G 1 Reply Last reply
        0
        • S sheshidar

          i mean i wnat to disable that row..

          G Offline
          G Offline
          Gary R Wheeler
          wrote on last edited by
          #4

          If you want to give a row the 'disabled' appearance, you will need to implement custom draw, and draw the row(s) as disabled.


          Software Zen: delete this;

          Fold With Us![^]

          1 Reply Last reply
          0
          • S sheshidar

            Hi All, is it possible to dISABLE a perticular row in a list control? -- modified at 5:45 Saturday 18th August, 2007

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

            See An effective way to hide or show columns in list control dynamically[^] does any help?


            WhiteSky


            D 1 Reply Last reply
            0
            • H Hamid Taebi

              See An effective way to hide or show columns in list control dynamically[^] does any help?


              WhiteSky


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

              WhiteSky wrote:

              See An effective way to hide or show columns in list control dynamically[^] does any help?

              Sure, assuming that rows are synonymous with columns.


              "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
              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