Discussion:
StatusBar in C++ Builder only display the first 127 caracters.
(too old to reply)
Oscar
2008-06-23 08:29:23 UTC
Permalink
"Oscar" <***@gmail.com> wrote:

I forgot to say that I did SimplePanel=true and SimpleText=<text longer than 127 characters>

Also I tried with panels and is possible to display more text than only the first 127 characters, but is more complex.

I prefer the simple way if it is possible.

¿Somebody have had the same problem?

Thanks
Oscar.
Hi
I have a problem with the VCL StatusBar.
I want to show long text in it, but it cuts the text to 127 caracters.
I tried in C++ Builder 6.0 and C++ Builder 2007 and they have the same problem.
¿Who knows how to solve this problem?
Remy Lebeau (TeamB)
2008-06-23 17:25:11 UTC
Permalink
This post might be inappropriate. Click to display it.
Oscar
2008-06-24 06:24:53 UTC
Permalink
Very thanks,
Oscar.
Post by Remy Lebeau (TeamB)
I have a problem with the VCL StatusBar.
I want to show long text in it, but it cuts the text to 127 caracters.
That is a limitation of the underlying StatusBar control, not the VCL. The
SB_SETTEXT
http://msdn.microsoft.com/en-us/library/bb760758(VS.85).aspx
"In Microsoft Windows XP and earlier, the text for each part is limited
to 127 characters. This limitation has been removed in Windows Vista."
To get around the limit, you have to use owner-drawn panels instead.
Gambit
Loading...