mfc代码设置控件文本内容

GetDlgItem(IDC_STATIC//这里是控件id)->SetWindowText("successful");

原文地址:https://www.cnblogs.com/begoogatprogram/p/5946946.html