Board index » cppbuilder » StatusBar in C++ Builder only display the first 127 caracters.

StatusBar in C++ Builder only display the first 127 caracters.


2008-06-23 04:13:18 PM
cppbuilder24
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?
 
 

Re:StatusBar in C++ Builder only display the first 127 caracters.

"Oscar" < XXXX@XXXXX.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.
Quote

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?
 

Re:StatusBar in C++ Builder only display the first 127 caracters.

"Oscar" < XXXX@XXXXX.COM >wrote in message
Quote
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
limit is documented by Microsoft:
SB_SETTEXT
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
 

{smallsort}

Re:StatusBar in C++ Builder only display the first 127 caracters.

Very thanks,
Oscar.
"Remy Lebeau \(TeamB\)" < XXXX@XXXXX.COM >wrote:
Quote

"Oscar" < XXXX@XXXXX.COM >wrote in message
news:485f5b1e$ XXXX@XXXXX.COM ...

>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
limit is documented by Microsoft:

SB_SETTEXT
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