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

    CListCtrl highlighting

    how can I highlight the whole row of a report when I click anywhere on the row


  2. #2
    Guest

    Re: CListCtrl highlighting

    Send the list control a message like this:
    m_ListCtrl.SendMessage(LVM_SETEXTENDEDLISTVIEWSTYLE, 0, LVS_EX_FULLROWSELECT);

    This will give you full row highlighting.



  3. #3
    Join Date
    Apr 1999
    Location
    Bangalore, India
    Posts
    25

    Re: CListCtrl highlighting

    Add the line
    ListView_SetExtendedListViewStyle(m_mylistctrl.m_hWnd,LVS_EX_FULLROWSELECT);
    where you are populating the List Control


Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured