Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: GUI Opened in Maximize Figure
Date: Mon, 8 Oct 2007 08:25:53 +0000 (UTC)
Organization: TACT Computer Systems Ltd
Lines: 16
Message-ID: <fecpih$inf$1@fred.mathworks.com>
References: <febp5l$6s0$1@fred.mathworks.com> <fec99l$mbh$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1191831953 19183 172.30.248.35 (8 Oct 2007 08:25:53 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 8 Oct 2007 08:25:53 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642467
Xref: news.mathworks.com comp.soft-sys.matlab:431741



> > Is it possible to open a GUI in a maximize figure?
> 
> figure('Position',get(0,'Screensize'))


This doesn't maximize the window - only resizes it to the
screen size. And if the units are different then odd things
will happen...

For a real maximization, search the File Exchange - there
are several simple m-scripts that do this:
http://tinyurl.com/22zluo

Yair Altman
http://ymasoftware.com