1) Create a CString member value in each dialog class.
2) If the user selects OK in the first dialog class, save the value in the CString member variable (of the first dialog class.)
3) After calling DoModal() on the first dialog, assign the CString member variable of the second dialog the value of the CString member variable of the first dialog.
4) Call DoModal() on the second dialog.
If you need a code snippet, let me know.
Hope this information hlpes! Happy coding!
*~-> EOR Candy <-~*
I actually want to bring the "slctcol" to "attribute dialog box" and then retrieve an integer value from that dialog box in return.
The details:
slctcol contains the strings either as "Integer", "Float" or "String". In the attribute box, I have a scaling exponent in integer, and would like to transfer it back to my first dialog box.
Many thanks for your help. Look forward to your reply.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.