CListeCtrl [多行显示] [英] CListeCtrl [row in multiple line]
本文介绍了CListeCtrl [多行显示]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有一个ClistCtr,我想知道是否有一种方法可以更改行(行)的高度,以便可以处理多行.我发现一些ClistCtrl代码带有两行标题,但没有简单行的代码.
PS:我在报告模式下使用VS 2005和ClistCtrl.
Thx寻求任何帮助
Hi All,
I have a ClistCtr and i wondering if there is a way to change the height of a row (line) so that will handle more than one line. I found some ClistCtrl Code with headers in two lines but no code for a simple row.
PS : I use VS 2005 and ClistCtrl in report mode.
Thx for any help
推荐答案
在您的CListCtrl(派生)类中处理消息ON_WM_MEASUREITEM_REFLECT()并设置所需的所需高度.
希望这会有所帮助
jkchan
http://cgmath.blogspot.com
In your CListCtrl(derived) class handle message ON_WM_MEASUREITEM_REFLECT() and set the desired height needed.
Hopes this helps
jkchan
http://cgmath.blogspot.com
这篇关于CListeCtrl [多行显示]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文