visual-studio - MFC: CListCtrl background color of first row?
问题描述
When I create an MFC project, I add a dialog (IDD_DIALOG1) with CListCtrl of Report style. But when I test it, I see that its first row does not have grayish background.
However, this project "https://www.codeproject.com/Articles/608/Using-the-List-Control" has (note the row with "Item Name" etc). When I read its code, I cannot tell which part makes the difference.
My code is pretty much skeleton but can be accessed here "https://138.197.210.223/test/My.zip" if interested.
解决方案
推荐阅读
- reactjs - GatsbyJs 从 onRouteUpdate 更新提供者值
- php - 更改方法 A 中的类属性值并访问方法 B 中的更新值
- r - 在 R 中按条件连接表
- python-3.x - 规范化熊猫数据框的所有列(作为一列)
- java - FirebaseRecyclerAdapter 未在我的 RecyclerView 布局中显示数据
- python - 清理数据框列以进行分类
- .net - 在 Visual Studio 2019 中将警告视为错误进行构建但不是智能感知
- sql-server - BEGIN TRY and EXECUTE 动态简单查询错误
- python - 在 python 中,是否有一种最佳实践方法来清理包含需要转义的字符的正则表达式搜索字符串?
- excel - 我如何通过从 excel 获取信息来对多个网页进行数据输入