ListView and color

This is a discussion on ListView and color within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I want to adjust color of ListView. In fact i did it. When window firt opened it look ok(i ...

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    35

    ListView and color

    Hi,

    I want to adjust color of ListView. In fact i did it. When window firt opened it look ok(i used LVM_SETBKCOLOR). But after filling with items with a command, it is getting back to white. This is not a surprise but i can not paint it back with the same way.

    (pure winapi)
    Want to learn? Then try to teach...

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,699
    Here is some good info on ListView controls.
    Some of it is MFC, some of it is raw Win32 API.

    gg

  3. #3
    Registered User
    Join Date
    Dec 2002
    Posts
    35
    Thank you

    In fact i was saw that good article in CodeTools but this is in CodeGuru. Anyway, i couldnt noticed the differences of


    Code:
    ListView_SetBkColor     and      ListView_SetTextBkColor
    funny. I couldnt saw, but twice i get. For this thank you. I suppose would be better, warn me about my false beside link after filled with text i must used second, solved.

    Thanks
    Want to learn? Then try to teach...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 06-23-2008, 12:55 AM
  2. Replies: 6
    Last Post: 07-10-2006, 01:05 AM
  3. Setting a listview's color
    By Rare177 in forum Windows Programming
    Replies: 3
    Last Post: 10-01-2004, 01:36 AM

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