You need to create a message handler (BN_CLICKED) for the desired radio button. For example: the OnRadioClicked() will handle the BN_CLICKED message for your radiobox and the editbox's ID is IDC_MYEDITBOX.
OnRadioClicked()
{
// TODO: Add your control notification handler code here
CEdit *pEdit = (CEdit*)GetDlgItem(IDC_MYEDITBOX);
ASSERT(pEdit != NULL);

pEdit->SetReadOnly(FALSE); // set it to be read/write
pEdit->SetFocus(); // set the focus to the editbox

}


Hope this will help. Good luck.

Lynx