Valhalla Legends Forums Archive | Visual Basic Programming | ToolTips in Listview

AuthorMessageTime
Tass
Do you need an api?
November 20, 2005, 7:39 PM
Kp
No, tooltips are implemented by programming on the bare metal (writing directly to graphical memory).  Microsoft never bothered to give us an API for that one, so we just scrawl directly on your screen.
November 20, 2005, 7:52 PM
JoeTheOdd
Are you serious Kp?
November 20, 2005, 8:01 PM
shadypalm88
[quote author=Tass link=topic=13301.msg134820#msg134820 date=1132515571]
Do you need an api?
[/quote]You're using VB: ListItems have a property called ToolTipText.  Set it.  Also try the Object Browser, it's handy.

[quote author=Kp link=topic=13301.msg134826#msg134826 date=1132516359]
No, tooltips are implemented by programming on the bare metal (writing directly to graphical memory).  Microsoft never bothered to give us an API for that one, so we just scrawl directly on your screen.
[/quote][quote author=Joe link=topic=13301.msg134827#msg134827 date=1132516904]
Are you serious Kp?
[/quote][color=red]* head explodes *[/color]
November 20, 2005, 8:44 PM
FrOzeN
For basic simple line tooltips there is a .ListItem property for them.

Google to use multi-line tooltips.
November 21, 2005, 1:39 AM
JoeTheOdd
[quote author=shadypalm88 link=topic=13301.msg134835#msg134835 date=1132519475][quote author=Joe link=topic=13301.msg134827#msg134827 date=1132516904]
Are you serious Kp?
[/quote][color=red]* head explodes *[/color]
[/quote]

LOL. Sorry, forgot about ToolTipText. =p
November 21, 2005, 3:07 AM
Tass
Anyone know of a tut that can show me how to do it for every item in the listview?
November 21, 2005, 9:30 PM
Topaz
I don't know about a tut, but this is how I would do it:

Set the HoverSelect property to true

Enable Listview_Mousemove, and have the tooltip change accordingly
November 21, 2005, 11:16 PM

Search