Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Gui multiple instances
Date: Wed, 4 Nov 2009 18:42:04 +0000 (UTC)
Organization: Mitre Corp
Lines: 14
Message-ID: <hcshts$7b8$1@fred.mathworks.com>
References: <hcq5l4$hek$1@fred.mathworks.com> <hcq938$meu$1@fred.mathworks.com> <hcsfh0$7ag$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 1257360124 7528 172.30.248.35 (4 Nov 2009 18:42:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Nov 2009 18:42:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2318
Xref: news.mathworks.com comp.soft-sys.matlab:582478


"Jane " <j.l.terry@hotmail.co.uk> wrote in message <hcsfh0$7ag$1@fred.mathworks.com>...
> I haven't been able to find a method to search for the figure.  
> 
> I think perhaps this is bacause I have the 'handlevisibilty' to callback.  Is there a way of finding an instance of the GUI with this property set?
> 
> In the meantime I have set the 'windowstyle' to modal, which does prevent multiple instances but is far from a perfect solution.
> 
> I'ld be grateful of further suggestions
> 
> Thanks

You can try setting the 'ShowHiddenHandles' root property to 'on', 
do your figure search test (by 'Tag' or whatever), 
then set the 'ShowHiddenHandles' root property back to 'off'.