LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

What happens when the mouse stays over the menu bar.

Hello,

we have a measument routine whitch takes some seconds. To process user
input, a "ProcessSystemEvents()" is called at about all 200msec. All works
fine.
But if the the mouse curser stays over the menu bar the routine seems to be
blocked.

What is the reason for this behavior, an is there a solotion to increase the
processing speed?

Thanks

Babak Pourat
0 Kudos
Message 1 of 2
(2,546 Views)
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.


vishi

"Babak.pourat" wrote in message
news:3e8a9bbe@newsgroups....
> Hello,
>
> we have a measument routine whitch takes some seconds. To process user
> input, a "ProcessSystemEvents()" is called at about all 200msec. All
works
> fine.
> But if the the mouse curser stays over the menu bar the routine seems to
be
> blocked.
>
> What is the reason for this behavior, an is there a solotion to increase
the
> processing speed?
>
> Thanks
>
> Babak Pourat
>
>
0 Kudos
Message 2 of 2
(2,546 Views)