I just realized, I use the Xtreme Toolkit version of the list control.
Maybe they are doing some magic to make info tips work. I don't think so,
but I'll do some checking to see. I could just be taking something for
granted.
"Joseph M. Newcomer" <newcomer@flounder.com> wrote in message
I never got a second callback for the infotip display. I ended up writing
my own. It
wouldn't send me another message when the mouse moved to a different
column.
In looking at the docs, I saw another style, LVS_EX_LABELTIP, which only
came with version
5.80 of the common controls. It is not clear what this really does, but
it would another
experiment worth trying.
joe
On Wed, 15 Jul 2009 08:18:37 -0700, "Tom Serface" <tom@camaswood.com>
wrote:
Can you show some of the code you used to set up the list control. You
shouldn't have to do too much to get this to work. The focus rectangle
should be the width of the column. You could use a couple of options to
make it more clear:
m_List.SetExtendedStyle (LVS_EX_FULLROWSELECT |LVS_EX_INFOTIP);
m_List.ModifyStyle(NULL,LVS_SHOWSELALWAYS,0);
If your list is in report mode, this would show the whole row as selected
and display a popup tip for lines that don't display completely because of
column sizing.
Tom
"Kai" <Kai@discussions.microsoft.com> wrote in message
news:EAFC3702-F69C-4E33-8DB6-4E125A930DCE@microsoft.com...
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