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. how to make a CListCtrl in report-mode without Columns ?

how to make a CListCtrl in report-mode without Columns ?

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

    I need a CListCtrl derived class using owner-drawn report-mode but with '1 virtual column' that always stretches the entire viewable area. Any ideas ?

    A 1 Reply Last reply
    0
    • O ohadp

      I need a CListCtrl derived class using owner-drawn report-mode but with '1 virtual column' that always stretches the entire viewable area. Any ideas ?

      A Offline
      A Offline
      alex barylski
      wrote on last edited by
      #2

      then you would have to draw the columnd AFAIK...it would make your a job a lot easier to use custom draw though... Cheers :) How do I print my voice mail?

      O 1 Reply Last reply
      0
      • A alex barylski

        then you would have to draw the columnd AFAIK...it would make your a job a lot easier to use custom draw though... Cheers :) How do I print my voice mail?

        O Offline
        O Offline
        ohadp
        wrote on last edited by
        #3

        I'm ok with that, I already have a full-fledged Owner-Drawn CListCtrl. My only problem is that in a certain configuration I'd like to move to a 'non column-based' layout and maintain my owner-drawn capabilities, this doesn't seem to be supported in a standard manner.

        R 1 Reply Last reply
        0
        • O ohadp

          I'm ok with that, I already have a full-fledged Owner-Drawn CListCtrl. My only problem is that in a certain configuration I'd like to move to a 'non column-based' layout and maintain my owner-drawn capabilities, this doesn't seem to be supported in a standard manner.

          R Offline
          R Offline
          Rafael Fernandez Lopez
          wrote on last edited by
          #4

          you could use InsertColumn only once and setting up the width of the control, it should use all the control's width and only in one column.


          Written by: Rafael Fernández López.

          Visit: http://www.maestroprogramador.com

          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