Will I know the title is not that clear, but I will explain what is my problem in a clear way.

I'm working in a GUI program, but I'm not going to put the code because there is a lot of code and...