Remove default close button from window ("X")

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
aeronmike
Posts: 45
Joined: Thu May 24, 2012 5:00 am
Location: Rio de Janeiro, Brazil

Remove default close button from window ("X")

Post by aeronmike »

Hey,

When I create a window it has the title bar and the "close button" on it (right corner).
I am able to remove the title bar, but that button remains there.

Is there any way to remove that?
Also, is there an element like a simple empty "frame" for use? (So I won't need to remove anything, just to add)

Thanks.
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Re: Remove default close button from window ("X")

Post by randomMesh »

Code: Select all

 
mywindow->getCloseButton()->remove();
 
Please have a look at the api first, before starting a new thread.
This question also has been asked several times before, don't be afraid to use the search function, especially if you want to write a Minecraft clone.
"Whoops..."
aeronmike
Posts: 45
Joined: Thu May 24, 2012 5:00 am
Location: Rio de Janeiro, Brazil

Re: Remove default close button from window ("X")

Post by aeronmike »

Thanks, and sorry.
Post Reply