i see.. i always find some of the codes from former officemates and sample codes in the net that uses the UpdateData function just to reflect/retrieve the values to the control and vice versa. im pertaining to the DDX variables.. when i try to use the GetDlgItem function in passing or retrieving of values, i just found out that i dont have to use UpdateData function....

sample :
void CCompute::Calculate()
{
float fResult = 0;
UpdateData(1); // to get value
fResult = m_vdPenaltyRate * float(m_viDays); // m_vdPenaltyRate and m_viDays are DDX variables
m_vsPenalty.Format("%f",fResult); // m_vsPenalty is a DDX variable also
UpdateData(0); // to Show the result
}