如何从编辑框中获取文本数据 [英] How Can I Get The Text Data From Edit Box
本文介绍了如何从编辑框中获取文本数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有编辑框的ID,我无法从编辑框中读取文本并将文本写入文件。
感谢高级。
I have id of Edit Box, I couldn't get the way to read Text from Edit box and write the text in to file.
Thanks in advanced.
推荐答案
如果为资源创建CEdit控件成员,则可以使用 GetLine 类功能。否则你可以试试GetWindowText API ...
PS:你的问题非常非常简单
If you create a CEdit control member for the resource you can use the GetLine class function. Else you can try GetWindowText API...
PS: your question is very unspezific
这篇关于如何从编辑框中获取文本数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文