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. set color in list control

set color in list control

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

    I am a beginner in using a list control. Could someone direct me in how to set the color of the cells (I hope this is the correct terminology) containing the column names in the list control, as well, setting the color of the first cell in each row. The color will be blue. Thanks

    Trevy

    _ P H 3 Replies Last reply
    0
    • T Trevy

      I am a beginner in using a list control. Could someone direct me in how to set the color of the cells (I hope this is the correct terminology) containing the column names in the list control, as well, setting the color of the first cell in each row. The color will be blue. Thanks

      Trevy

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      See here[^].

      Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

      1 Reply Last reply
      0
      • T Trevy

        I am a beginner in using a list control. Could someone direct me in how to set the color of the cells (I hope this is the correct terminology) containing the column names in the list control, as well, setting the color of the first cell in each row. The color will be blue. Thanks

        Trevy

        P Offline
        P Offline
        prasad_som
        wrote on last edited by
        #3

        I think you need to use custom draw . Refer this article by Michael Dunn[^].

        Prasad Notifier using ATL | Operator new[],delete[][^]

        1 Reply Last reply
        0
        • T Trevy

          I am a beginner in using a list control. Could someone direct me in how to set the color of the cells (I hope this is the correct terminology) containing the column names in the list control, as well, setting the color of the first cell in each row. The color will be blue. Thanks

          Trevy

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

          And see XListCtrl - A custom-draw list control with subitem formatting[^]


          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