<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/250029</link>
    <title>MATLAB Central Newsreader - waitbar without focus?</title>
    <description>Feed for thread: waitbar without focus?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 27 Apr 2009 17:58:02 -0400</pubDate>
      <title>waitbar without focus?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/250029#645695</link>
      <author>Sven </author>
      <description>Hi all,&lt;br&gt;
&lt;br&gt;
I have a function that, depending on the arguments passed to it, can take a long time (~60sec) or a short time (~1sec).&lt;br&gt;
I have wrapped a waitbar() call around the function's loop so I can see the progress.&lt;br&gt;
&lt;br&gt;
The thing is, I am now calling this function inside my main program loop, and it is a little annoying to have my window focus &quot;stolen&quot; by each iteration that calls waitbar().&lt;br&gt;
&lt;br&gt;
Is there an argument I can pass to waitbar to *not* have it make the progress bar the currently focused window?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Sven.</description>
    </item>
  </channel>
</rss>

