窗口任务栏上的MDI应用程序图标显示所有打开的文档 [英] MDI application icons on window's taskbar showing all open docs

查看:74
本文介绍了窗口任务栏上的MDI应用程序图标显示所有打开的文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

+ 我在最新版本的Visual-Studio中创建了一个基于MFC DocView架构的MDI应用程序,运行良好。

但是,当应用程序时正在运行,其最小化图标显示在桌面任务栏上,所有打开的文档都显示在另一侧。有没有办法我只能在最小化列表中获得当前Focus显示的文档。



(如果我没有正确解释我的问题,请尝试打开Microsoft Word,并创建一些空文档。现在点击任务栏上最小化的Word图标,你看到所有打开的文件都显示在一起。这正是我想要解决的问题。我只想在这个清单中显示一个文件。有办法吗?)



感谢您的帮助。



我的尝试:



没什么。我不知道从哪里开始。我想这是可能的,你知道该怎么做,或者它是不可能的,因为这就是Windows如何处理MDI应用程序。请赐教。

+I have created an MDI app based on the MFC DocView architecture in the latest version of Visual-Studio, which is working well.
However, when the application is running, and its minimised icon is displayed on the desktop TaskBar, all the open documents are displayed along side one-another. Is there a way I can get only the Document having the current Focus show on the minimised list.

(In case I am not explaining my problem properly, try opening Microsoft Word, and creating a few empty documents. Now click on the minimised Word Icon on the taskbar and you see all open documents displayed alongside each other. This is exactly what I am trying to solve. I only want one document to show up in this list. Is there a way ?)

Thanks you for your help.

What I have tried:

Nothing. I don't know where to begin. I guess this is something that is either possible and you know how to do, or it is not possible because that's just how Windows treats MDI applications. Please enlighten me.

推荐答案

我找到了答案:



你好那些读过或者是有兴趣解决这个难题:



我发现它是:



https:// stackoverflow .com / questions / 13255935 / how-do-make-your-mdi-mfc-app-show-one-instance-in-the taskbar / 55376904#55376904



它的确有效。祝福所有人。
I found the answer at:

Hello those Who have read or are interested in a solution to this dilemma:

I found it at:

https://stackoverflow.com/questions/13255935/how-do-you-make-your-mdi-mfc-app-show-one-instance-in-the-taskbar/55376904#55376904

And it works. best wishes all.


这篇关于窗口任务栏上的MDI应用程序图标显示所有打开的文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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