how to make multiline text in wxListCtrl
Vadim Zeitlin
vadim at wxwindows.org
Sun Mar 4 13:28:02 PST 2007
On Sun, 04 Mar 2007 22:28:16 +0100 Milan Babuskov <milanb at panonnet.net> wrote:
MB> Vadim Zeitlin wrote:
MB> > Now the question is whether we should replace \n with some unprintable
MB> > character in the generic version (trivial) thus standardizing on the
MB> > current MSW behaviour or do something different/better. Any ideas?
MB>
MB> Well, I don't know if it would be too much, but I really like the way
MB> MSW shows text when it doesn't fit in the cell horizontally. It shows
MB> "..." and when you move mouse over it, it shows entire text (hovering
MB> above other cells). It would be cool it multiline cell would only show
MB> the first line and when you move mouse to it, it would show all lines
MB> (with opaque background, of course).
This is unfortunately impossible to implement as long as we don't have
support for tooltips for parts of the window. And AFAIK GTK+ still doesn't
support this.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list