编辑框设置文本时要添加控件变量同时用:
CWnd* pWnd = GetDlgItem(IDC_EDIT1);
pWnd->SetWindowText(cpustr);
多行显示
L"处理器掩码:%d \r\n"
自定义类时如果要设置文字直接 SetWindowText(cpustr);
转载于:https://blog.51cto.com/haidragon/2089985
编辑框设置文本时要添加控件变量同时用:
CWnd* pWnd = GetDlgItem(IDC_EDIT1);
pWnd->SetWindowText(cpustr);
多行显示
L"处理器掩码:%d \r\n"
自定义类时如果要设置文字直接 SetWindowText(cpustr);
转载于:https://blog.51cto.com/haidragon/2089985