CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2010

    customized clistctrl

    I have CListctrl that is configured for reprot mode.
    I add items to this list.
    Now I color the rows depending upon values in my application.

    What I want to do next is -
    When the user selects a row I want to change the color of the row.
    I can do this, but when the user selects the row it is highlighed in a default color(blue).

    I need to change this selection color - does anyone know how this can be done?



  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Hanover Germany

    Re: customized clistctrl

    It can be done using owner draw or custom draw.
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.