Is it possible to set background/text color on a single listview item/row?

This is a discussion on Is it possible to set background/text color on a single listview item/row? within the Windows Programming forums, part of the Platform Specific Boards category; I'm not finding anything useful on the subject. (Win32 API please, no MFC)...

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    161

    Is it possible to set background/text color on a single listview item/row?

    I'm not finding anything useful on the subject. (Win32 API please, no MFC)
    Last edited by Viper187; 06-21-2008 at 12:10 PM.

  2. #2
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,059

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    161
    hahaha! I notice the author there had just as much trouble as I am. I saw that example one other time and lost track of it.

    Thanks

  4. #4
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,586
    I've been using the listview lately at work and man it is so ridiculously hard to use it's almost not worth it.

    It's like the designers thought of every function you don't want to do and put it in the API. All the important things normal people would need to do are strangely left out of the API.

  5. #5
    Registered User
    Join Date
    Apr 2007
    Posts
    137
    This poor sample is just a copy of MSDN.
    See MSDN detailed doc on Custom Drawing : everything is there.
    And PSDK samples of course...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. The new FAQ
    By Hammer in forum A Brief History of Cprogramming.com
    Replies: 34
    Last Post: 08-30-2006, 10:05 AM
  2. problem with open gl engine.
    By gell10 in forum Game Programming
    Replies: 1
    Last Post: 08-21-2003, 04:10 AM
  3. Set Classes
    By Nicknameguy in forum C++ Programming
    Replies: 13
    Last Post: 10-31-2002, 01:56 PM
  4. Set Classes
    By Nicknameguy in forum C++ Programming
    Replies: 3
    Last Post: 10-21-2002, 07:40 PM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 05:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21