How to highlight a whole row in the ListView common control in a multicolumn report view mode (230049)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++ .NET (2003)
This article was previously published under Q230049 Note Microsoft Visual C++ NET (2002) supported both the managed code
model that is provided by the .NET Framework and the unmanaged native Windows
code model. The information in this article applies to unmanaged Visual C++
code only. SUMMARY The ListView common control in a multicolumn report view
mode highlights only the first column when a row is selected. This behavior is
by design. REFERENCES147842 How To Detect a Mouse Click on Any Column of List View Control
- LISTHDR:
Demonstrates the List View and Header Common Controls
181440 How To Add Full Row Select Functionality to a ListView Control
NOTE: Article KB 181440 shows how this could be achived in Visual
Basic.131788 OdListVw.exe Highlights Entire Row in a ListView Control
Modification Type: | Minor | Last Reviewed: | 5/3/2005 |
---|
Keywords: | kbCmnCtrls kbCtrl kbhowto kbListView KB230049 kbAudDeveloper |
---|
|