Home » U++ Library support » TreeCtrl » Scrollbar doesnt appear on TreeCtrl (Scrollbar doesnt appear on TreeCtrl)
Re: Scrollbar doesnt appear on TreeCtrl [message #60475 is a reply to message #60474] |
Mon, 04 March 2024 08:45   |
 |
koldo
Messages: 3435 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: Sun Jun 01 16:24:54 CEST 2025
Total time taken to generate the page: 0.02341 seconds
|