Widget Cursor Event Freezes [message #83667] |
Wed, 13 March 2013 11:14 |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
I am reading cursor events off of a draw widget, and performing a moderately CPU intensive series of tasks (updating a direct graphics overlay in 3 windows) while moving the cursor. It usually works well, but when moving the cursor too fast (or for too long?) the widget will freeze. I can't close the widget, and hitting the .reset button does nothing. The Workbench behaves as if this is a modal widget -- which is not -- and does respond to any commands. The only way I can proceed is to exit IDL and start all over.
I am going to try adding a "wait,0.1" to the cursor event code to see if that help avoid widget freeze. But does anyone have any idea what might be going on? thanks, --Wayne
|
|
|