Hi EOR Candy,
Thanks very much for your info. As I am still not familiar with Visual C++, a code snippet as an example would be nice.
Here is the example of my code:
BOOL CDialogODBCImporter::OnChangetype()
{
try {
CString slctcol;
int numscales;
m_CheckedBox.GetText(m_CheckedBox.GetCurSel(),slctcol); }
catch(CDBException* pEx)
{AfxMessageBox(pEx->m_strError);
pEx->Delete();
AfxMessageBox( "Please select the column" );
return FALSE;}
{ CAttributeChange AttribChange(NULL);
AttribChange.DoModal();}
return TRUE;
}
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.