Click here to Skip to main content
12,954,601 members (55,258 online)
Rate this:
 
Please Sign up or sign in to vote.
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 30-Jan-11 23:04pm
Updated 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(..) :)
  Permalink  
Comments
Stefano Baghino 3-Feb-11 2:42am
   
It worked! Thanks for your awesomeness!!! ;-)
Niklas Lindquist 3-Feb-11 9:21am
   
:)

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

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,539
CHill60 3,490
Maciej Los 3,153
ppolymorphe 2,030
Jochen Arndt 1,975


Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 2 Feb 2011
Copyright © CodeProject, 1999-2017
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