Thread: ListView and color

  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,981
    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-22-2008, 11:55 PM
  2. Replies: 6
    Last Post: 07-10-2006, 12:05 AM
  3. Setting a listview's color
    By Rare177 in forum Windows Programming
    Replies: 3
    Last Post: 10-01-2004, 12:36 AM