Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to access variables from another dialog?

Status
Not open for further replies.

jvff

Programmer
Apr 1, 2001
64
BR
How can I access variables of MainDlg from OptionsDlg? I tried:

CMainDlg main_dlg;
main_dialog.option1 = 'T';

but it didn't work. Please help me. ThanQ ;-) Thank you,

JVFF (Janito Vaqueiro Ferreira Filho)
 
Maybe is was supposed to be:

main_dlg.option1 = 'T';

unless you just happened to type it differently on the forum.
 
ERROR: I didn't type it correctly.

CMainDlg main_dlg;
main_dlg.option1 = 'T'; ThanQ, ;-)

JVFF (Janito Vaqueiro Ferreira Filho)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top