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. Indentation/Column-specific image lists in a List View Control

Indentation/Column-specific image lists in a List View Control

Scheduled Pinned Locked Moved C / C++ / MFC
questiondatabasehelp
1 Posts 1 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.
  • A Offline
    A Offline
    Antti Keskinen
    wrote on last edited by
    #1

    Hello ! I have a standard Win32 List View Control that uses two image lists, one for the item icons and one for the state image icons. Everything is working smooth and correct with all items. My control does not need an item icon for the first column at all, only the state icons. However, I cannot seem to find a way to actually remove the item icons. If I set the item icon index to -1, then no icon is displayed, but the item is still indented inwards by the width of the icon. Setting the iIndent variable to a negative value does not solve the problem. Any suggestions ? How can I tell the List View that the first column only uses state icons, and that each item in the first column should only be indented once to allow putting a state icon there, if necessary ? - Antti Keskinen

    ------------------------------ Programming Windows is like a box of assorted chocolates. You never know what you're going to get.

    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