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

Home » Public Forums » archive » exchanging parameters with a modal dialog
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
exchanging parameters with a modal dialog [message #26444] Fri, 24 August 2001 15:57
Rick Baer is currently offline  Rick Baer
Messages: 6
Registered: November 1999
Junior Member
What is the most elegant way to exchange data with a modal dialog box? I
would like to change some parameters that exist within the scope of the main
program. These parameters are currently part of the info structure of the
main program, so they are like member variables of the "App" class (in MFC
parlance). I could include the ID of the top-level base of the main program
in the user data of the modal dialog, and then use widget_control to access
the uvalue and modify the parameters. This would be like passing the
"theApp" pointer and dereferencing it. Alternatively, I could just place the
parameters in a common block. It would be much simpler, but I could only run
one invocation of the program at a time. Any recommendations?

Rick Baer

Agilent Technologies
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: smoothing an animation that calls xinteranimate
Next Topic: Re: exchanging parameters with a modal dialog

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

Current Time: Wed Oct 08 17:45:12 PDT 2025

Total time taken to generate the page: 0.00549 seconds