comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL 5.0 observations
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL 5.0 observations [message #9146 is a reply to message #9092] Fri, 30 May 1997 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
David Foster writes:

> Yet more IDL 5.0 observations:

> 2. What leads to even more editing is the fact that you should not
> use EVENT_PRO or EVENT_FUNC keywords in the WIDGET_BASE() call,
> use EVENT_HANDLER in XMANAGER instead. This means that for all
> popup utility windows that generate events for their applications,
> and for each application in turn, you have to modify the widget
> creation code. Again, a pain if you have many applications.

Actually, I don't think this has changed. The event handler for
the top-level base should *always* be assigned with the XMANAGER
call and *never* with EVENT_PRO. This was true in IDL 4.0, as I
learned only too well after a couple of *very* long evenings
debugging code. I think it is just better documented in IDL 5.0. :-)

> Now that all the crud is taken care of I'm hoping to play around
> with the new features like pointers and OOP stuff. I have a feeling
> I'll be impressed.

I have to say, pointers are blowing me away. They are SOoooo
nice! The only thing I miss about handles (it is a small thing)
is that I could free up the whole lot of them by freeing
the parent. And I am also greatly impressed with how little
effort is required to switch between handles and pointers,
at least in my code. This is a nice job, RSI!

I'm having a few problems with resizeable graphics windows
getting "stuck" at a particular size in certain circumstances,
but so far it's not too bad and I've managed to find work-
arounds.

Cheers,

David

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
Customizable IDL Programming Courses
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sell YourPhotosNYC.Agency
Next Topic: writing PCX files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 23:44:38 PDT 2025

Total time taken to generate the page: 0.72075 seconds