Question about list view: how to find out the subItem pointed by the mouse?

L

Linda Chen

I created a list view control which has 4 columns. I am
planning to add a dynamic tooltip to the control.
Everytime when the mouse hover over any subitem on column
4, the tooltip will display the content(text) of the
subitem.

I am adding my code to the MouseHover event. The problem
is that I can't tell which subitem is pointed by the
mouse cursor.

For dataGrid I can use hittest method to detect the cell.
Does list view control have similar function? I can't
find anything myself.

Thanks a lot.

Linda Chen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top