Please post your code, because we may can find the mistake in it.
the default scheme for such an operation:
This will print the entire text that is displayed on the IDC_BUTTON into IDC_EDITBOX,Code:TCHAR szStr[100] = ""; GetDlgItemText(hDlg, IDC_BUTTON, szStr, 100); SetDlgItemText(hDlg, IDC_EDITBOX, szStr);




Reply With Quote