如何使用VC ++ 6.0 MFC向导SDI应用程序更改图块栏中的标题 [英] How change the title in tile bar using VC++ 6.0 MFC wizard SDI application

查看:58
本文介绍了如何使用VC ++ 6.0 MFC向导SDI应用程序更改图块栏中的标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想更改项目的默认标题.

在基于对话框的应用程序中,我们使用initdialog成员函数中的SetWindowText设置标题,如何在SDI应用程序中进行设置.


有人可以帮我吗?


谢谢

Hi,

I want to change the default title of my project.

In Dialog based application we are using the SetWindowText in initdialog member function for setting the title how can i do it in SDI application.


Can Anyone help me.


Thank you

推荐答案

在这里看看其中建议了几个选项...

http://www.codeproject.com/Messages/3479162/Changing- window-title-in-SDI-MDI.aspx [ ^ ]

一个小的谷歌搜索就可以做到这一点...
Take a look here where several options are suggested...

http://www.codeproject.com/Messages/3479162/Changing-window-title-in-SDI-MDI.aspx[^]

A small google search would have done it...


选中此
代码项目Visual C ++论坛常见问题解答 [
Check this
The Code Project Visual C++ Forum FAQ[^]


SetWindowText()可与任何派生的CWnd一起使用类(就像CDialog一样),因此您只需找出合适的位置进行调用(无论何时加载新文档),然后对文档框架窗口进行调用(我认为在SDI中只有一个框架).
SetWindowText() works with any CWnd derived class (just like CDialog), so you just have to figure out the appropriate place to make the call (whenever the new document is being loaded) and make the call to the documents frame window (I think in SDI there''s only one frame).


这篇关于如何使用VC ++ 6.0 MFC向导SDI应用程序更改图块栏中的标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆