Click here to Skip to main content
12,356,455 members (63,467 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ MFC UI
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

1 solution

Rate this: bad
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 | :)
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

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