如何从选项卡式视图“活动文件"中删除MDI选项卡式视图图标.下拉列表和Taksbar弹出选项卡/列表 [英] How to remove MDI Tab View Icons from the Tabbed View "Active Files" Drop-down list and from the Taksbar Pop-up Tabs/List

查看:124
本文介绍了如何从选项卡式视图“活动文件"中删除MDI选项卡式视图图标.下拉列表和Taksbar弹出选项卡/列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在具有MDI标签视图的MFC/C ++ Windows桌面应用程序中(例如MSDN Sample MDITabsDemo),可以显示或隐藏标签上的图标,但活动文件"中的图标可以显示或隐藏.下拉列表(单击位于的向下箭头按钮 总是显示在右上角).无论如何,还是有一些地方要从活动文件"中删除图标.下拉列表"?并且也可以从任务栏弹出标签/列表中删除图标吗?请参考图片 随附的.非常感谢!

In a MFC/C++ Windows desktop application with MDI tabbed views (such as the MSDN Sample MDITabsDemo), the icons on the tabs can be either shown or hidden, but the icons in the "Active Files" Drop-down list (click the Down Arrow button at the upper-right corner) are always shown. are there anyways to remove the icons from the "Active Files" Drop-down list"? And, is it possible to remove the icons from the Taskbar pop-up tabs/list too? Please refer to the images attached. Many thanks!

推荐答案

我认为您可能对创建自定义缩略图和/或预览处理程序感兴趣
https://channel9.msdn.com/blogs/查尔斯/mfc-实施处理程序用于缩略图和搜索过滤

I think you might be interested in creating custom thumbnail and/or preview handlers
https://channel9.msdn.com/blogs/charles/mfc-implementing-handlers-for-preview-thumbnail-and-search-filtering

此外,请查看afxtabctrl.cpp中的CMFCTabCtrl :: OnShowTabDocumentsMenu函数,并考虑对其进行重写以在没有图标的情况下实现该功能.

Also, look at the function CMFCTabCtrl::OnShowTabDocumentsMenu in afxtabctrl.cpp and consider overriding that to implement it without the icons.

苏格兰人


这篇关于如何从选项卡式视图“活动文件"中删除MDI选项卡式视图图标.下拉列表和Taksbar弹出选项卡/列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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