Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: Multiple dr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 5697 of 5734
Post > Topic >>

Re: Multiple draw widget events

by David Fanning <news@[EMAIL PROTECTED] > May 2, 2008 at 08:21 AM

Jye writes:

> Another newbie here so the answer to my problem is most likely
> blatently obvious.
> 
> The example below is of a draw widget which windows the displayed
> image when right clicked on the draw widget and the ROI button runs
> CW_DEFROI. But my problem is that the windowing events interfere when
> CW_DEFROI is called! How can I stop this from happening? Im sure it
> has something to do with the /no_block keyword but I have been unable
> to find the solution.
> 
> Any help is greatly appreciated.

Something really weird is going on here!

I have to confess, I have never used CW_DEFROI, because I have
never been able to figure it out. But, clearly, it has its
own event loop, and we are meant to *stay* in that event loop
until we exit the CW_DEFROI program (WHILE 1 DO...). Nothing
else should be happening.

But while it does *appear* to be stuck inside its own 
event loop, other events can be processed and sent to
other event handlers, etc. As I say, too, too weird!!

I don't have time this morning to fool around with it,
and I have a busy weekend planned (learning about native
plants), but maybe I'll come back to this when I get 
a moment. There is something to be learned here, I just
don't know exactly what yet. :-)

Cheers,

David

-- 
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")




 5 Posts in Topic:
Multiple draw widget events
Jye <jye.smith@[EMAIL   2008-05-01 22:49:53 
Re: Multiple draw widget events
"ben.bighair" &  2008-05-02 06:54:09 
Re: Multiple draw widget events
David Fanning <news@[E  2008-05-02 08:21:43 
Re: Multiple draw widget events
David Fanning <news@[E  2008-05-02 09:09:33 
Re: Multiple draw widget events
Jye <jye.smith@[EMAIL   2008-05-05 18:07:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 2:16:10 CDT 2008.