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

Home » Public Forums » archive » Re: Widget Event_Pro question
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: Widget Event_Pro question [message #59603 is a reply to message #59476] Wed, 02 April 2008 08:21 Go to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Mar 31, 3:45 pm, David Fanning <n...@dfanning.com> wrote:

Hello once again,

I'm now trying to find the best way to tell widget A how many copies
of widget B are open, and what their IDs are, so that widget A knows
what to kill when the user presses the 'Graph Deletion' button. I'm
doing this by passing a pointer to an array around my top-level UVAL
structure, and concatenating the new graph widget IDs onto the array
as they get created, and then removing these IDs when the widget gets
killed.

I need to define this array before any instances of widget B are open.
Can I use a value of [-1L] for this? Or is -1 a valid widget ID number
that might cause problems later if IDL decides to label one of my
widgets -1 at some point?

Regards,

Chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Why Persist with the IDL Workbench
Next Topic: Warm and fuzzy tip

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

Current Time: Sun Oct 12 07:05:19 PDT 2025

Total time taken to generate the page: 2.24172 seconds