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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing values between dialogs

Status
Not open for further replies.

paulyc

Programmer
May 13, 2003
4
US
I have a workspace with 2 Dialog boxes They both have their own class . When working in the 2nd class, I am trying to call a value from the first Class, but I repeatedly get errors. Does anyone know if an easy way to access values from different classes?
 
declare the variable that you want to access as "public". Are you sure you can acces the instance of the first dialog in the member functions of the second dialog? Have you included the header of the first dialog into the .cpp of the second?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top