Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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:
Posted
Updated 1-Feb-11 23:57pm
v4

1 solution

Just add the following line:
CMFCAutoHideButton::m_bOverlappingTabs = FALSE;

at the end of your CMainFrame::OnCreate(..) :)
 
Share this answer
 
Comments
Stefano Baghino 3-Feb-11 2:42am    
It worked! Thanks for your awesomeness!!! ;-)
Niklas L 3-Feb-11 9:21am    
:)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900