Hi,
I'm working with Labwindows/CVI 5.0 and Windows 2000.
My problem is I set the cursor to wait state for a lengthy operation but, even though the hourglass appears, I can still click on controls and the events keep working. That's not desirable because I would like to block the user interface while the lengthy operation is executing. Is there a way to override or ignore all events?
What I have thought of is defining a global variable 'bwaitMode' and I ignore all events in every callback function when it is true, but this seems not to be the optimal solution, because I have a big UI with lots of panels and controls. That's why also setting all controls to 'notify' or 'dimmed' is not a good solution.
I think I may do something with a loop and the 'GetUserEvent' function to catch all the events and ignore them, but I'm not sure if that would work. I'd appreciate any help on this
Daniel Vilches