It is not possible to display data in a CEdit field in a dialog before dialog starts.
Do it in the CDialog::OnInitDialog override.