Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / October 2004

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Linda Chen - 01 Oct 2004 16:15 GMT
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
ClayB [Syncfusion] - 01 Oct 2004 16:28 GMT
George Shepherd's Windows Forms FAQ contains an entry entitled:

    How can I tell which column (subitem)  has been clicked on in my
listview?

Check it out at:
http://www.syncfusion.com/faq/winforms/search/1006.asp

=============================================
Clay Burch, .NET MVP

Syncfusion, Inc.
visit http://www.syncfusion.com for .NET Essentials

>I created a list view control which has 4 columns. I am
> planning to add a dynamic tooltip to the control.
[quoted text clipped - 13 lines]
>
> Linda Chen

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.