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

Home » Public Forums » archive » Widget question
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
Widget question [message #16037] Wed, 30 June 1999 00:00
Harald Frey is currently offline  Harald Frey
Messages: 41
Registered: March 1997
Member
Sorry if I missed that point somewhere in the very interesting
discussion about "Passing info and destroying widgets". I followed the
suggestion by Liam Gumley to create my widget structure but now I have a
problem.

I have 3 levels in my widget structure, main, parent and child. What I
do is:

- Create main widget
- Create info structure
- store info structure in the main level base
- start Xmanager with event handler

A certain button on the main widget calls the parent process where I
- get the info structure
- create the parent widget
- create a pointer to the info structure
- store pointer in parent base
- start second Xmanager with second event handler

Now a button on the parent widget calls a process on the child level
where I
- get the pointer
- get the info structure via pointer
- manipulate the info

So far everything is fine but now I want to store the manipulated info
from the child level back into the main widget and destroy the parent
widget. How do I do this?

Harald
hfrey@ssl.berkeley.edu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Compiling DLM's using Borland C++ builder
Next Topic: Re: Zero vector detection in IDL

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

Current Time: Wed Oct 08 13:46:13 PDT 2025

Total time taken to generate the page: 0.00585 seconds