Thread Subject: GUI: Remove close button in title bar

Subject: GUI: Remove close button in title bar

From: Blueblood Kingroyale

Date: 12 Mar, 2008 08:34:02

Message: 1 of 3

Hi, I'm creating a GUI for a Voice Recognition project.
I'd like to know how I can remove the 'CLOSE' button
(that's the little red 'x' in the top corner) from the GUI
title bar I am creating.

Subject: GUI: Remove close button in title bar

From: Ashish Uthama

Date: 12 Mar, 2008 17:09:49

Message: 2 of 3


not sure if you can 'remove' it, you could try editing the CloseRequestFcn
callback to have '' to disable it


On Wed, 12 Mar 2008 04:34:02 -0400, Blueblood Kingroyale
<edproject.cec@gmail.com> wrote:

> Hi, I'm creating a GUI for a Voice Recognition project.
> I'd like to know how I can remove the 'CLOSE' button
> (that's the little red 'x' in the top corner) from the GUI
> title bar I am creating.

Subject: GUI: close button -CloseRequestFcn

From: Blueblood Kingroyale

Date: 13 Mar, 2008 16:40:20

Message: 3 of 3

Correct advice as usual. CloseRequestFcn was the key. Even
though I still cannot remove that 'little red x' in the top
corner , at least I can make sure that when clicked on, it
does nothing at all. Thanks for the help...will try to run
into more roadblocks and keep the queries coming :-D

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
gui shutdown Jay 17 Mar, 2009 14:42:35
gui close button Blueblood Kingroyale 13 Mar, 2008 12:45:09
gui title bar Blueblood Kingroyale 12 Mar, 2008 04:35:04
removing close ... Blueblood Kingroyale 12 Mar, 2008 04:35:04
gui Blueblood Kingroyale 12 Mar, 2008 04:35:04
rssFeed for this Thread

Contact us at files@mathworks.com