FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   Add to FavoritesAdd to Favorites  * Code Snippets
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    RSS Get RSS Feed  


Scripts Stand Still on Dialog Title Bar Click

 
Post new topic   Reply to topic    Macro Scheduler and Windows Automation Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
JRL
Automation Wizard


Joined: 10 Jan 2005
Posts: 2650
Location: Iowa
Reputation: 993.5
votes: 91

PostPosted: Mon Nov 21, 2011 10:28 pm    Post subject: Scripts Stand Still on Dialog Title Bar Click Reply with quote

I've been meaning to ask this question for a long time.

Why does a script that contains a dialog, stop processing while the dialog is being moved?

To demonstrate, run the following script and notice the dialog label increments every second. Click on the dialog title bar and drag the dialog around or even hold it in place for a while. When you release the mouse button the numbers begin to increment again but they did not increment while the dialog was being moved. This indicates that moving the dialog pauses the script.

If you bump up the wait value from 1 to 5 you will see that the individual functions don't stop. With Wait at 5, clicking the title bar a brief moment after the label has incremented then holding it for more than five seconds will produce an increment immediately upon release of the mouse button. If the wait function had halted, one would expect to have to wait for something close to 5 seconds for the label increment.


_________________
A few homemade utilities

Did this message help you? If so please reward the poster with Reputation Points? Reward Points
Back to top
View user's profile Send private message
Display posts from previous:    View previous topic :: View next topic  
Post new topic   Reply to topic    Macro Scheduler and Windows Automation Forum Index -> General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group