Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
How to disable a figure window

Subject: How to disable a figure window

From: Cem

Date: 20 Aug, 2009 21:59:06

Message: 1 of 2

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.

Subject: How to disable a figure window

From: Yair Altman

Date: 21 Aug, 2009 09:06:01

Message: 2 of 2

"Cem " <hiittite@gmail.com> wrote in message <h6kgv9$9nu$1@fred.mathworks.com>...
> 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.


Use this utility on the Matlab File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/15895

Yair Altman
http://UndocumentedMatlab.com
 

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us