G
Guest
I want to pass an object to a dialog box, and have the dialog box work on the
object, so that when the dialog box closes, my program now sees the altered
object.
This turns out to be not as simple as passing a pointer in a native program.
How can I pass the object into the dialog box constructor, so that all of
the functions in the dialog box class will act upon the original object?
I tried passing the object with the "ref" parameter, but this seems to have
effect only within the immediate function being called. It doesn't have
effect over the whole dialog box class (of course.)
Thank you,
Rich
object, so that when the dialog box closes, my program now sees the altered
object.
This turns out to be not as simple as passing a pointer in a native program.
How can I pass the object into the dialog box constructor, so that all of
the functions in the dialog box class will act upon the original object?
I tried passing the object with the "ref" parameter, but this seems to have
effect only within the immediate function being called. It doesn't have
effect over the whole dialog box class (of course.)
Thank you,
Rich