bremeski
asked on
How to turn off long hints in TListView
"Long hints" being the long straight hints that superimpose the item's text to complete the item text when the item's text is cut short in the listview due to the length of the listview column.
As an example of what I am talking about:
Open your Windows Explorer.
Set the view style to Details.
Resize the Type column until only a few characters are showing for each item.
Place the mouse over some of these Type item's text.
Watch the yellow hint popup right over the item's text to complete it on screen because you cannot see it all from the listview because the column is too narrow.
I need to turn this off this because I am using a stayontop form that has a litview in it and these hints are showing up behind the form. (Interestingly, the infotips are not having this problem.)
(I program in Delphi but am resending this to all programmers because I am not getting a response in the Delphi area as of yet.)
As an example of what I am talking about:
Open your Windows Explorer.
Set the view style to Details.
Resize the Type column until only a few characters are showing for each item.
Place the mouse over some of these Type item's text.
Watch the yellow hint popup right over the item's text to complete it on screen because you cannot see it all from the listview because the column is too narrow.
I need to turn this off this because I am using a stayontop form that has a litview in it and these hints are showing up behind the form. (Interestingly, the infotips are not having this problem.)
(I program in Delphi but am resending this to all programmers because I am not getting a response in the Delphi area as of yet.)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Actually, this got me looking at doing a
SendMessage(listview.Handl e, LVM_SETTOOLTIPS, 0, 0);
The last param is the handle to the tooltip window. By setting it to zero, I have effetively stopped the tooltips, which was my goal.
So thanks for pointing this library out to me.
SendMessage(listview.Handl
The last param is the handle to the tooltip window. By setting it to zero, I have effetively stopped the tooltips, which was my goal.
So thanks for pointing this library out to me.
ASKER