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.
Remove default close button from window ("X")
-
- Posts: 1186
- Joined: Fri Dec 29, 2006 12:04 am
Re: Remove default close button from window ("X")
Code: Select all
mywindow->getCloseButton()->remove();
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..."
Re: Remove default close button from window ("X")
Thanks, and sorry.