使用CWnd::SetLimiteText()函數即可設置。
有一個需要注意的地方:
如果在DoDataExchange()中設置了對應的DDV_MaxChars(),則需要將其刪除,否則不管是CWnd::SetLimiteText(),還是發送消息,都不起作用。
posted on 2008-08-07 08:40 FongLuo 閱讀(872) 評論(0) 編輯 收藏 引用
Powered by: C++博客 Copyright © FongLuo