调整CMFCVisualManager以更改隐藏的窗格外观 [英] Tweak CMFCVisualManager to alter hidden panes appearance
问题描述
你好!
我有一个MFC 10 MDI应用程序(带有功能包).它的默认外观是类似Office的主题,需要进行一些调整:隐藏的窗格应始终显示其标签,这种效果在类似Visual Studio的主题中却不在Office中一样的.
我正在寻找帮助,建议或链接(通过Google搜索-对X |毫无帮助)来实现 CMFCVisualManager 类(及其子类)以实现上述目标.
当然,也非常感谢有关替代性行动方案的建议. :doh:
预先感谢任何帮助. :rose:
Hello there!
I have a MFC 10 MDI application (w/ Feature Pack). It''s default look is a Office-like theme, which needs a little tweak: an hidden pane should always display its label, an effect which is present in Visual Studio-like themes but not in Office-like ones.
I''m looking for help, suggestions or links (googled - didn''t help X| ) to work on CMFCVisualManager class (and its subclasses) to achieve the aformentioned goal.
Of course, suggestions about alternative courses of action are greatly appreciated as well. :doh:
Thanks in advance for any help. :rose:
推荐答案
只需添加以下行:
Just add the following line:
CMFCAutoHideButton::m_bOverlappingTabs = FALSE;
在CMainFrame::OnCreate(..)
的末尾:)
at the end of your CMainFrame::OnCreate(..)
:)
这篇关于调整CMFCVisualManager以更改隐藏的窗格外观的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!