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

Home » Public Forums » archive » Re: widget IDs ever zero?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: widget IDs ever zero? [message #40900] Thu, 09 September 2004 16:27 Go to next message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Paul Van Delst wrote:
> Benjamin Hornberger wrote:
>
>> Hi all,
>>
>> just to make sure before I run into trouble -- a widget ID will never
>> be zero, right?
>
>
> I don't know. I don't see why a value of zero couldn't be a valid ID.
>
> If you have the widget ID, why not use the WIDGET_INFO function with the
> ACTIVE keyword set. Then you don't have to worry about what a widget ID
> value actually means. That will tell if the widget ID is
> realized/managed/etc.

Take Paul's advice, it's probably a better approach. But to answer your
Q yes, a widget ID will never be 0.

-Rick
Re: widget IDs ever zero? [message #40902 is a reply to message #40900] Thu, 09 September 2004 12:51 Go to previous messageGo to next message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Benjamin Hornberger wrote:
> Hi all,
>
> just to make sure before I run into trouble -- a widget ID will never be
> zero, right?

I don't know. I don't see why a value of zero couldn't be a valid ID.

If you have the widget ID, why not use the WIDGET_INFO function with the ACTIVE keyword
set. Then you don't have to worry about what a widget ID value actually means. That will
tell if the widget ID is realized/managed/etc.

paulv
Re: widget IDs ever zero? [message #41067 is a reply to message #40900] Wed, 22 September 2004 18:30 Go to previous message
algosat is currently offline  algosat
Messages: 7
Registered: September 2004
Junior Member
>> I don't know. I don't see why a value of zero couldn't be a valid ID.
>>
>> If you have the widget ID, why not use the WIDGET_INFO function with the
>> ACTIVE keyword set. Then you don't have to worry about what a widget ID
>> value actually means. That will tell if the widget ID is
>> realized/managed/etc.

what if you dont have, or you lose, the widget id of a widget that is
realized? how do you find it again?

Andrew
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Top-level bases
Next Topic: Re: What don't I know about jpeg, 3 channels, and color display?

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

Current Time: Mon Dec 01 06:20:44 PST 2025

Total time taken to generate the page: 0.24148 seconds