Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ MFC UI C++/MFC
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 Dead | 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. D'Oh! | :doh:
 
Thanks in advance for any help. Rose | [Rose]
Posted 30-Jan-11 23:04pm
Edited 1-Feb-11 23:57pm
v4

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Just add the following line:
CMFCAutoHideButton::m_bOverlappingTabs = FALSE;
at the end of your CMainFrame::OnCreate(..) Smile | :)
  Permalink  
Comments
Stefano Baghino at 3-Feb-11 2:42am
   
It worked! Thanks for your awesomeness!!! ;-)
Niklas Lindquist at 3-Feb-11 9:21am
   
:)

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



Advertise | Privacy | Mobile
Web04 | 2.8.141015.1 | Last Updated 2 Feb 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100