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 
Return to the default flat view Create a new topic Submit Reply
Re: widget IDs ever zero? [message #40900] Thu, 09 September 2004 16:27 Go to previous 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
[Message index]
 
Read Message
Read Message
Read Message
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: Sun Oct 12 08:48:43 PDT 2025

Total time taken to generate the page: 2.16044 seconds