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

Home » Public Forums » archive » Re: problems with passing structures around in gui widgets
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: problems with passing structures around in gui widgets [message #40411 is a reply to message #40410] Thu, 05 August 2004 09:56 Go to previous messageGo to previous message
MKatz843 is currently offline  MKatz843
Messages: 98
Registered: March 2002
Member
David Fanning <davidf@dfanning.com> wrote

> The standard rule is to check the info structure
> out at the top of the event handler, and check it
> back in before you exit the event handler:

That's true unless the UVALUE is also a pointer. In which case you
don't have to "check it back" when you're done with the event handler.
I've found out the hard way that checking-out the state variable and
checking it back later can lead to some nasty conflicts when you have
event-driven code, multiple things going on at once, and significant
subroutines called from the event handler.

M. Katz
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Launching Another App. from IDL
Next Topic: Re: Launching Another App. from IDL

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

Current Time: Thu Oct 16 01:26:59 PDT 2025

Total time taken to generate the page: 1.44174 seconds