"Joseph M. Newcomer" wrote:
You can't change the item rectangle directly. Unlike a CListBox, you
cannot change the
height of an entry in a CListCtrl, but you can change the column width.
If the text of
the item is wider than a column, it will be truncatted. I usually do a
tooltip-like
display to show the entire text.
joe
On Wed, 15 Jul 2009 07:16:02 -0700, Kai <Kai@discussions.microsoft.com>
wrote:
I have put some items in CListCtrl box. Each item has text (or label)
with
different sizes. WHen cursor moves over them, some texts could be
broken in a
rectangle. I know to get the item rectangle by GetItemRect. But how can
I
change an item rectangle?
Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm