programming/임시

modal 값넘기고 종료될때 값 넘겨받기

hotdogya 2011. 3. 18. 23:09

 CDial dlg;
dlg.num = Num;
dlg.DoModal();
if( IDOK == dlg.DoModal() ){
thisTotal = dlg.m_total;
thisStr = dlg.m_strValue;
}