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

Home » Public Forums » archive » Re: Top-level bases
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: Top-level bases [message #41054] Thu, 23 September 2004 17:27 Go to previous message
algosat is currently offline  algosat
Messages: 7
Registered: September 2004
Junior Member
>
> So, alternatively, you could make one copy of the info
> structure, and store a pointer to that info structure in
> the UValue of any TLB that required the info structure
> information.

Hi David,

thanks for the advice. I suspected it was going to involve pointers.

I did manage to get around the problem by creating a function
(yesterday) that allows the user to find the widget_id of any realized
widget that is being managed by xmanager. The only input information
needed is the uname of the widget (most of us will always remember the
unames).

I have found that I dont then need to pass any information, regarding
the TLB, to the compound widget (read pop-up). I only need to wait
till I am in the event rountine for my pop-up and use the function to
get the widget id of the widget holding the state info. Update the
info and then return. In this manner it does not matter if I lose a
link, or TLB id, and since the TLB is always realized, I can always
link back to it no matter where I am in the code. If this sounds of
interest to you I can post a copy of the code tomorrow. It was a fix
to a problem that was driving me nuts and where I was hoping I wouldnt
need to use pointers (not that I dont like pointers).

Cheers
Andrew
[Message index]
 
Read Message
Read Message
Previous Topic: - unsigned variables
Next Topic: Re: - unsigned variables

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

Current Time: Sun Oct 12 02:14:33 PDT 2025

Total time taken to generate the page: 1.83644 seconds