I have a ListView where several items have more text than fits in the column width. ShowItemToolTips means i can hover over a column and see the full text which is great.
However, for really long texts, it disappears before there is time to read everything, so i would like to make it stay longer (or possibly until the dismissed manually, eg by moving away the mouse or clicking. How do I do this?
You know, of course, that underneath the .NET ListView class is a Windows listview control. This listview control uses a Windows tooltip control to show the truncated strings.
You can get hold of this underlying tooltip control through the LVM_GETTOOLTIPS message.
Once you have the handle to the tooltip control, you can send messages to it.
showTime is the number of milliseconds you want the control to stay visible.