Even if you solve this, you will run into problems if the user clicks on
menu as then the processing also stops.
You better off creating a separate thread to do your measurement. I didn't
use threads earlier but now after using them, its hard to go back.
"Babak.pourat" wrote in message
> we have a measument routine whitch takes some seconds. To process user
> input, a "ProcessSystemEvents()" is called at about all 200msec. All
> But if the the mouse curser stays over the menu bar the routine seems to
> What is the reason for this behavior, an is there a solotion to increase
> processing speed?
> Babak Pourat