查看单个帖子
旧 2007-06-02, 12:51 PM   #2
yogy
高级会员
 
注册日期: 06-11
帖子: 1527
精华: 15
现金: 6353 标准币
资产: 6353 标准币
yogy 向着好的方向发展
默认 回复: 编辑框的问题:如何设置编辑框文本?

MFC的SetWindowText应该和SDK的SetWindowText类似,请看SDK的SetWindowText:

The SetWindowText function changes the text of the specified window's title bar (if it has one).
If the specified window is a control, the text of the control is changed.
(注意:--->) However, SetWindowText cannot change the text of a control in another application.
yogy离线中   回复时引用此帖