[SOLVED] Titlebar crashes my program!

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

standtall007
Just popping in
Just popping in
Posts: 9
Joined: Tue Jul 04, 2017 16:18

[SOLVED] Titlebar crashes my program!

Postby standtall007 » Sun Jul 09, 2017 14:01

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 :)
Last edited by standtall007 on Sun Jul 09, 2017 14:20, edited 1 time in total.

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Titlebar crashes my program!

Postby Ident » Sun Jul 09, 2017 14:12

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?
CrazyEddie: "I don't like GUIs"

standtall007
Just popping in
Just popping in
Posts: 9
Joined: Tue Jul 04, 2017 16:18

Re: Titlebar crashes my program!

Postby standtall007 » Sun Jul 09, 2017 14:15

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 :)

standtall007
Just popping in
Just popping in
Posts: 9
Joined: Tue Jul 04, 2017 16:18

Re: Titlebar crashes my program!

Postby standtall007 » Sun Jul 09, 2017 14:20

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 :)

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: [SOLVED] Titlebar crashes my program!

Postby Ident » Sun Jul 09, 2017 14:30

Glad to help.
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 33 guests