|
-
July 3rd, 2002, 01:37 PM
#1
add a tooltip message to listview
Hi, I want to add a tooltip message to my buttons and list view items. Is there a built in funtion that can make it easy for me?
Please point me in the right direction 
Thanks!
-
July 3rd, 2002, 02:14 PM
#2
Re: add a tooltip message to listview
Originally posted by dky1e
Hi, I want to add a tooltip message to my buttons and list view items. Is there a built in funtion that can make it easy for me?
Please point me in the right direction 
Thanks!
Code:
public void SetupToolTips() {
Tooltip t = new ToolTip(this.components);
t.SetToolTip(mylistview,"My list view");
}
Jared
-
July 3rd, 2002, 03:07 PM
#3
Thanks!
But how can I attach the tooltip to each of the items?
-
July 3rd, 2002, 07:16 PM
#4
Originally posted by dky1e
Thanks!
But how can I attach the tooltip to each of the items?
Keep calling SetToolTip() for each item you want to set a tooltip for
Jared
-
July 4th, 2002, 11:12 AM
#5
I'm sorry, I don't understand. I tried doing setTooltip( listviewitem,"adf"); but it doesnt allow me to do that.
Could you post a quick sample? Thanks.
-
July 5th, 2002, 12:20 PM
#6
Originally posted by dky1e
I'm sorry, I don't understand. I tried doing setTooltip( listviewitem,"adf"); but it doesnt allow me to do that.
Could you post a quick sample? Thanks.
Check out htis Article on MSDN. it's the best source that I know of.
http://msdn.microsoft.com/library/de...classtopic.asp
Jared
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|