http://www.mathworks.com/matlabcentral/newsreader/view_thread/259012
MATLAB Central Newsreader  How to disable a figure window
Feed for thread: How to disable a figure window
enus
©19942014 by MathWorks, Inc.
webmaster@mathworks.com
MATLAB Central Newsreader
http://blogs.law.harvard.edu/tech/rss
60
MathWorks
http://www.mathworks.com/images/membrane_icon.gif

Thu, 20 Aug 2009 21:59:06 +0000
How to disable a figure window
http://www.mathworks.com/matlabcentral/newsreader/view_thread/259012#674705
Cem
Hello,<br>
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 <br>
properties as such I could not find anything useful. Can anyone help me? Thank you.

Fri, 21 Aug 2009 09:06:01 +0000
Re: How to disable a figure window
http://www.mathworks.com/matlabcentral/newsreader/view_thread/259012#674788
Yair Altman
"Cem " <hiittite@gmail.com> wrote in message <h6kgv9$9nu$1@fred.mathworks.com>...<br>
> Hello,<br>
> 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 <br>
> properties as such I could not find anything useful. Can anyone help me? Thank you. <br>
<br>
<br>
Use this utility on the Matlab File Exchange: <a href="http://www.mathworks.com/matlabcentral/fileexchange/15895">http://www.mathworks.com/matlabcentral/fileexchange/15895</a><br>
<br>
Yair Altman<br>
<a href="http://UndocumentedMatlab.com">http://UndocumentedMatlab.com</a> <br>