I have got three CSTring data members in Document class. These are initialized using the document constructor. The OnDraw() function displays these string. I have a property sheet which has 3 Tabbed dialogs. Each dialog has a edit box which is connected with a CString. Now I want what ever the user types in the edit boxes of property pages, it should be displayed using OnDraw. The property sheet is invoked using a handler which is in view class. How can I have data exchange between document & property sheet class?<br><br>CPSFontDoc::CPSFontDoc()<br>{<br> m_str1= _T("First String"<br> m_str2= _T("Second String"<br> m_str3= _T("Third String"<br> :<br> :<br>}<br>void CPSFontView::OnViewTextsetting() <br>{<br> <br> CLine1 line1;<br> CLine2 line2;<br> CLine3 line3;<br><br> CTextPage dlgText(_T("Tabbed Options", this);<br> dlgText.AddPage(&line1);<br> dlgText.AddPage(&line2);<br> dlgText.AddPage(&line3);<br><br> dlgText.DoModal();<br>}<br>