Questions tagged [mfc-feature-pack]

The MFC Feature Pack is a set of enhancements to the version 9 of MFC to enable MFC-based applications to take on the look and feel of Microsoft Windows and Office applications. It was first shipped in Visual Studio 2008, and as of Visual Studio 2010 it is completely integrated and documented.

The MFC Feature Pack is a set of enhancements to the version 9 of MFC to enable MFC-based applications to take on the look and feel of Microsoft Windows and Office applications. It was first shipped in Visual Studio 2008, and as of Visual Studio 2010 it is completely integrated and documented.

The Visual C++ 2008 Feature Pack extends the VC++ Libraries shipped with Visual Studio 2008 and is fully covered under Microsoft's standard support policies.

The VC++ 2008 MFC libraries have been extended to support creation of applications that have:

  • Office Ribbon style interface
  • Office 2007, Office 2003, and Office XP look and feel
  • Modern Visual Studio-style docking toolbars and panes
  • Fully customizable toolbars and menus
  • A rich set of advanced GUI controls
  • Advanced MDI tabs and groups

This feature pack also includes an implementation of TR1. Portions of TR1 are scheduled for adoption in the upcoming C++0x standard as the first major addition to the ISO 2003 standard C++ library. Our implementation includes a number of important features such as:

  • Smart pointers
  • Regular expression parsing
  • New containers (tuple, array, unordered set, etc)
  • Sophisticated random number generators
  • Polymorphic function wrappers
  • Type traits

Note: This feature pack does not include C99 compatibility or support for special math functions.

199 questions
14
votes
3 answers

Does Microsoft Office 2010 make use of WPF or is it plain old MFC?

I have been using WPF for some time now and I am trying to reproduce some of the nifty UI features of their office suite. Although very easy in WPF, I am wondering how it could be done using MFC feature packs (I might have to use it instead, since…
ak3nat0n
  • 6,060
  • 6
  • 36
  • 59
10
votes
2 answers

Changing image of a menu button in a CMFCToolbar

I have a menu button inside a CMFCToolbar and I would like to replace the bitmap of the button each time a different entry is selected in the menu as each entry has its own icon. I succeed in changing the icon using CMFCToolBarMenuButton::SetImage…
Ryan
  • 477
  • 5
  • 12
8
votes
5 answers

Icons on menus of MFC Feature Pack classes

There are three places where menus show up in the new MFC functionality (Feature Pack): In menu bars (CMFCMenuBar) In popup menus (CMFCPopupMenu) In the 'dropdown menu' version of CMFCButton I want to put icons (high-color and with transparancy)…
Roel
  • 19,338
  • 6
  • 61
  • 90
7
votes
4 answers

How to set a CMFCPropertyListCtrl's column width?

I'm adding properties to an object of type CMFCPropertyGridCtrl like this: myPropertyListCtrl.AddProperty( new CMFCPropertyGridProperty( _T("Name"), foo.GetName()) ); The result is that only the second column is visible but not…
foraidt
  • 5,519
  • 5
  • 52
  • 80
7
votes
6 answers

How to change the CDockablePane caption

How do I force a refresh the caption of a CDockablePane in the MFC feature pack? I'm working with the tabbed visual studio style example, and I want to change the captions for the tabs. These seem to be cached somewhere though, as when I change…
cigarman
  • 635
  • 6
  • 15
6
votes
7 answers

Is the MS Ribbon/Office UI License worth worrying about?

Imagine I want to create an application which is very similar to MS Word 2007, using C++ in VS2008 and the MFC Feature Pack. For the ribbon, there are 3 options available to me: Use the ribbon from MFC Feature Pack without acquiring a…
demoncodemonkey
  • 11,730
  • 10
  • 61
  • 103
6
votes
1 answer

Is it possible to create a CImageList with alpha blending transparency?

I would like to knwo if it is possible to create a CImageList with alpha blending transparency. Sample code that creates a CImageList with ugly transparency (no alpha blending) CGdiPlusBitmapResource…
sorin
  • 161,544
  • 178
  • 535
  • 806
6
votes
1 answer

CMFCButton with Vista Style

I can't seem to get a CMFCButton to be displayed in Vista style in a dialog box application. I'm using VS2008 with MFC Feature Pack. Here are some steps to reproduce my problem: Create a new MFC Project; Specify a Dialog based project. Add two…
djeidot
  • 4,542
  • 4
  • 42
  • 45
6
votes
1 answer

MFC Tabbed Documents - how to enable middle-mouse button to close document?

If you create a new MFC application (with MFC Feature Pack), and using all the defaults, click Finish. It creates an MDI application with the new "Tabbed Documents" style. I think these are great except it really annoys me that I can't close a…
demoncodemonkey
  • 11,730
  • 10
  • 61
  • 103
5
votes
3 answers

How can I add a ribbon menu to an existing MFC application?

Microsoft Visual C++ 2008 Feature Pack has ribbon menu support. Is it possible to make use of that in an existing MFC application that was not created with a ribbon menu?
yesraaj
  • 46,370
  • 69
  • 194
  • 251
5
votes
2 answers

Disable/Enable Ribbon Buttons for MFC Feature Pack

I am using the MFC Feature Pack and I have some buttons on a ribbon bar, instances of CMFCRibbonButton. The problem is that I would like to enable and disable some of them in certain conditions, but at runtime. How can I do this? because there is no…
melculetz
  • 1,961
  • 8
  • 38
  • 51
5
votes
5 answers

How can I place a MFC CFormView inside a CDockablePane?

How can I place a MFC CFormView inside a CDockablePane which was introduced in the VS 2008 MFC Feature Pack?
Tom M
  • 153
  • 1
  • 2
  • 9
5
votes
0 answers

MFC Ribbon - alignment issue(s)

Create a standard App with ribbon, then add this to the CMainFrame::InitializeRibbon() at the appropriate place. // Create panel CMFCRibbonPanel* pMyPanel = pCategory->AddPanel(L"Test", m_PanelImages.ExtractIcon(27)); // Add wide combobox with…
Vishal
  • 57
  • 8
4
votes
9 answers

Find out which colours are in use when using the MFC Feature pack in Office 2007 style

I'm updating some of our legacy C++ code to use the "MFC feature pack" that Microsoft released for Visual Studio 2008. We've used the new classes to derive our application from CFrameWndEx, and are applying the Office 2007 styles to give our…
John Sibly
  • 22,782
  • 7
  • 63
  • 80
4
votes
2 answers

How to remove the close button from an MFC caption bar

Is there an easy way to remove the close button from an MFC feature pack caption bar? (I don't mean the window caption, I'm talking about the little information bar that can appear at the top of the client area in these apps -…
Brad Robinson
  • 44,114
  • 19
  • 59
  • 88
1
2 3
13 14