Article ID: 131788
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Win32 Application Programming Interface, when used with:
- Microsoft Windows NT Server 3.51
- Microsoft Windows NT Workstation 3.51
- Microsoft Windows 2000 Standard Edition
This article was previously published under Q131788
SUMMARY
One of the limitations of the ListView common control is that when the
control is in report view, the control only highlights the first column
when a row is selected. To work around this limitation, you can create the
ListView as an owner draw control (using the LVS_OWNERDRAWFIXED style) and
perform all the painting yourself.
The ODLISTVW sample demonstrates how to create an owner draw ListView
control that highlights an entire row.
Additional query words: CListCtrl CListView list control kbui kbfile
Keywords: kbdownload kbctrl kbfile kbinfo kbsample KB131788