
需要實作的功能是:假設后臺已經存盤了.ini檔案,點擊"開始/結束"按鈕后,文本框讀取.ini檔案中的文字,并在文本框中不斷變化,再次點擊"開始/結束"按鈕后,文本框文字停止變化。
如何實作,請各位大佬幫忙指點,具體到添加變數,添加訊息這類具體的步驟。
uj5u.com熱心網友回復:
CWnd::SetWindowTextvoid SetWindowText( LPCTSTR lpszString );
Parameters
lpszString
Points to a CString object or null-terminated string to be used as the new title or control text.
Remarks
Sets the window’s title to the specified text. If the window is a control, the text within the control is set.
This function causes aWM_SETTEXT message to be sent to this window.
CWnd Overview | Class Members | Hierarchy Chart
See Also CWnd::GetWindowText,::SetWindowText
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/265709.html
標籤:基礎類
下一篇:幫忙做一個數學題
