Hello all,
I've got a listview in report mode, and some of the text gets clipped. For that I would like to use a tooltip to display all/more of that text, just
like "file explorer" does it.
The problem is that I can't seem to find a full example of it, nor a description of what I would need to do to make it happen. :-(
Although I've found some code which will attach a tooltip to a(ny) control (which works), I cannot find anything which describes how to create the
above "un-clipping" of text in listview element.
What I did find was the below, which, alas, was not really helpfull :
https://learn.microsoft.com/en-us/windows/win32/controls/tooltip-controls
https://learn.microsoft.com/en-us/windows/win32/controls/implement-in-place-tooltips
So, my question:
Using XPsp3 and a v5.82 Listview control :
1) How does the ToolTip control need to be created (which STYLEs and/or EXSTYLEs ?)
2) Does the listview need extra EXSTYLEs (LVS_EX_LABELTIP and/or
LVS_EX_INFOTIP ?)
3) How do I "connect" the tooltip to the listview ? Using LVM_SETTOOLTIPS perhaps ?
4) How will the tooltip/listview ask for the text to be displayed (which notification message(s) ) ?
Yep, I need to know pretty-much everything. :-(
A link to an article which explains the above would be just fine. :-)
Regards,
Rudy Wieser
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)