Home » U++ Library support » TreeCtrl » Scrollbar doesnt appear on TreeCtrl (Scrollbar doesnt appear on TreeCtrl)
Scrollbar doesnt appear on TreeCtrl [message #60474] |
Thu, 29 February 2024 19:25  |
victor_hg
Messages: 3 Registered: February 2024
|
Junior Member |
|
|
Hi,
First of all, sorry if i'm not very polite (English is not my native language)
I'm developing an application with the layout and everything is working great but I have an issue with the TreeCtrl (I'm adding elements to it) and it just truncates the output, I mean, the scrollbar never appears as you can see on the first image.
Also there is a strange behavior, after some minutes, if I just let the program running on background and then I go back to it, the scrollbar just appears (as you can see on the second image).
-
Attachment: BusquedaIPs.zip
(Size: 161.34KB, Downloaded 74 times)
-
Attachment: upp_2.png
(Size: 33.04KB, Downloaded 95 times)
-
Attachment: upp_1.png
(Size: 36.46KB, Downloaded 92 times)
|
|
|
Re: Scrollbar doesnt appear on TreeCtrl [message #60475 is a reply to message #60474] |
Mon, 04 March 2024 08:45   |
 |
koldo
Messages: 3432 Registered: August 2008
|
Senior Veteran |
|
|
Hi Victor
In my computer (Windows, CLANG) your demo don't run. It crashes here:
ProgramaBusqueda::ProgramaBusqueda()
{
CtrlLayout(*this, "Busqueda");
...
//leyendo archivo configuracion
ifstream archivo_config( "config" ); // This file doesn't exist. No error check
string str_temp;
//leyendo primera linea (color rojo) // This indentation is not justified?
getline (archivo_config, str_temp); // The file is read even if it is not opened
bg_rojo.SetData(stoi(str_temp)); // stoi() throws an exception as str_temp is empty. No catch catches this exception. Program crashes.
It seems you have submitted your full application. Please to help you better upload the simplest test case and be sure it runs.
Best regards
Iñaki
[Updated on: Mon, 04 March 2024 08:46] Report message to a moderator
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 07:58:02 CEST 2025
Total time taken to generate the page: 0.01814 seconds
|