Posted on 2002-05-13
I display tooltip on listview columns when the contents are not visible completely. It so happens that in our application some of the columns can contain large amount of text. I use standard tooltip code for multiline which uses Windows API. Here is the problem: Let us say a list item is in the middle of the screen and it so happens that tooltip window is larger than half screen size. Then tooltip window continuosly flashes. It seems that when windows want to display the tooltip, depending on the size of the tooltip, the tooltip window is shown up or down from the cursor position, but in this case tooltip is more than half the screensize, then windows can't decide where to display it and it keeps flashing.
Any idea how this problem can be solved ?