📄 subject_24913.htm
字号:
<p>
序号:24913 发表者:吴柯 发表日期:2002-12-17 16:57:16
<br>主题:困惑很久了!!!!!
<br>内容:生成了可执行文件,运行的时候左上角总是有个----无标题--yourobject。<BR>现在知道后面的yourobject可以在IDR_MAINFRAME中改自己的名称,可是那前面的无标题三个字怎么去掉??
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:杨小兵 回复日期:2002-12-17 17:08:29
<br>内容:调用CWnd : : SetWindowText可以改变任何窗口(包括控件)的标题。<BR>//Set title for application's main frame window .<BR>AfxGetMainWnd ( ) —> SetWindowText (_T("Application title") )<BR>//Set title for View's MDI child frame window .<BR>GetParentFrame ( ) —> SetWindowText ("_T ("MDI Child Frame new title")<BR>)<BR>//Set title for dialog's push button control.<BR>GetDigitem (IDC_BUTTON) —> SetWindowText (_T ("Button new title ") )
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -