OdListVw.exe Highlights Entire Row in a ListView Control (131788)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- Microsoft Windows NT Server 3.51
- Microsoft Windows NT Workstation 3.51
- the operating system: Microsoft Windows 2000
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.
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbdownload kbCtrl kbfile kbinfo kbSample KB131788 kbAudDeveloper |
---|
|