Path: news.mathworks.com!not-for-mail
From: "G.A.M. " <x0zero@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Visible figure has no gui handle. Why?
Date: Mon, 27 Aug 2007 18:43:58 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 21
Message-ID: <fav61d$7a5$1@fred.mathworks.com>
Reply-To: "G.A.M. " <x0zero@gmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1188240238 7493 172.30.248.38 (27 Aug 2007 18:43:58 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 27 Aug 2007 18:43:58 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1030060
Xref: news.mathworks.com comp.soft-sys.matlab:425790


Hello. I have an application that creates and displays a
figure (as the main window for the GUI). The figure is
displayed on screen, but the gui handle doesn't exist
immediately after the figure is created.

Executing h=findobj shows me that the figure and all its
uicontrols are not among the existing objects even though
the figure is currently visible on the screen.

Where can I find basic information about why a gui handle
would be cleared or removed and how to prevent this from
happening? 

I posted a related question here:
http://www.mathworks.cn/matlabcentral/newsreader/view_thread/155215

That question has more details and replies there would also
help, but I think this question is really the heart of my
issue. Thank you.