Page 1 of 1

[SOLVED] Titlebar crashes my program!

Posted: Sun Jul 09, 2017 14:01
by standtall007
Hi i am back with a problem i don't know how to fix.
I have tried to find a function that will either disable any input from the dropdown arrow on the Titlebar...
I'm currently using AlfiskoSkin's Titlebar, and it has an arrow pointing down at the very left of the titlebar's text.
The arrow crashes my program when i am pressing the left mouse button down on it, is there a function to hide that arrow,
or is it supposed to be used for showing / hiding a frame underneath?

I would like to thank everyone who has been working on CEGUI, i love it because it is very easy to use, but this particular issue i just cannot find a
way to hide / destroy the dropdown arrow :(

Any help is greatly appreciated :)

Re: Titlebar crashes my program!

Posted: Sun Jul 09, 2017 14:12
by Ident
Are you using the titlebar on its own? I think that it is typically intended to be used as part of a FrameWindow.


Can you give me a screenshot of how the situation you have looks? Are you sure the arrow is not part of the FrameWindow?

Re: Titlebar crashes my program!

Posted: Sun Jul 09, 2017 14:15
by standtall007
Hi, i honestly do not know, but i will give it a shot here in a minute, and try to just create a direct framewindow :)
I had the titlebar on it's own, but i have in the same initialization function a groupbox which uses the image from a framewindow.

But, i will try and just make a framewindow and see if that works better :)

Re: Titlebar crashes my program!

Posted: Sun Jul 09, 2017 14:20
by standtall007
I have just tried it out, and now the titlebar from the direct FrameWindow class does NOT crash my program anymore :) Thank you very much Ident :)

Re: [SOLVED] Titlebar crashes my program!

Posted: Sun Jul 09, 2017 14:30
by Ident
Glad to help.