Path: news.mathworks.com!not-for-mail
From: "Cem " <hiittite@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: How to disable a figure window
Date: Thu, 20 Aug 2009 21:59:06 +0000 (UTC)
Organization: Biopticon Corp
Lines: 3
Message-ID: <h6kgv9$9nu$1@fred.mathworks.com>
Reply-To: "Cem " <hiittite@gmail.com>
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 1250805546 9982 172.30.248.35 (20 Aug 2009 21:59:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 20 Aug 2009 21:59:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 258855
Xref: news.mathworks.com comp.soft-sys.matlab:564925

Hello,
          I have two applications running simultaneously. The first one could be an Excel file, or a notepad. The second application created by MATLAB as a dll running under a Windows program, has a 3d MATLAB figure window in which the user can rotate the image with a mouse. This program calculates a value and the task is to put this value in an Excel cell or the notepad where the cursor is in the first application. In order to achieve this, the focus should be on the first application not on the 3D figure window. So how can I disable  the figure window such that this window will not get the focus? When the 3D image thus disabled, the user will not be able to do any 3D functions as expected.  So the second application under user control, should be able the enable or disable this 3D figure window through the controlling windows program. How can be achieved? I searched figure window 
properties as such I could not find anything useful. Can anyone help me? Thank you.