积极答复者
第一天学习c++,用vs2008创建了一个Project,运行弹出一个空白的窗口,如何更改标题?

问题
答案
-
静态修改:
打开ResourceView,选择对应的Dialog。在Dialog上点击右键选择properties。修改Caption属性即可。
动态修改:
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.
麻烦把正确答案设为解答。- 已标记为答案 acct_dir 2010年1月27日 9:19
全部回复
-
静态修改:
打开ResourceView,选择对应的Dialog。在Dialog上点击右键选择properties。修改Caption属性即可。
动态修改:
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.
麻烦把正确答案设为解答。- 已标记为答案 acct_dir 2010年1月27日 9:19
-
静态修改:
谢谢,如何打开ResourceView?ResourceView翻译成简体中文版 是什么?多谢了
打开ResourceView,选择对应的Dialog。在Dialog上点击右键选择properties。修改Caption属性即可。
动态修改:
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.
麻烦把正确答案设为解答。