customized clistctrl
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: customized clistctrl

  1. #1
    Join Date
    Jul 2010
    Posts
    10

    customized clistctrl

    Hi
    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?

    Thanks

    Graham

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,392

    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

This is a CodeGuru survey question.


Featured


HTML5 Development Center