【C大事】第三講文本框內容的交互
獲取對話框內容
GetDlgItemText(hwnd,IDC_EDITNAME,name, sizeof(name) );
打印到字符串中,相當於c#,java中的字符串相加name+“你好”
wsprintf(msg,"%shello",name);
設置對話框內容
SetDlgItemText(hwnd,IDC_EDITNAME,"wyqiang");
1、數字 2、用來存儲的字符串 3、進製
itoa(i1, str3, 10)
最後更新:2017-04-03 16:48:53