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
1
vote
3 answers

How to use CMFCListCtrl with CListView?

I'd like to use the new CMFCListCtrl features with my CListView class (and, of course, the new CMFCHeaderCtrl inside it). Unfortunately, you can't use Attach() or SubclassWindow() because the SysListView32 window is already associated with a…
skst
  • 575
  • 9
  • 15
1
vote
1 answer

Help finding issue with tooltip on CMFCMenuBar

I have an MFC app using the new UI features released in the Feature Pack and I'm having trouble with tooltips on the menubar. By default, I beleive tooltips are not enabled on menu items. Yet whenever I hover over the 2nd item in any of the menu…
user133180
  • 21
  • 4
1
vote
1 answer

Will the Scenic Ribbon ever be supported by the MFC Feature Pack?

My team has spent a long time developing a nice UI using the ribbon included in the VS2008 MFC Feature Pack. Now that Windows 7 is out and the look and feel of the ribbon has changed, my application looks out of date already, and it hasn't even been…
demoncodemonkey
  • 11,730
  • 10
  • 61
  • 103
1
vote
1 answer

How to Add a CMFCPropertyGridCtrl to a Dialog

Can someone give me an example for adding a CMFCPropertyGridCtrl to a Dialog. I tried to create a dialog and add a CMFCPropertyGridCtrl. But it gives me errors. A tutorial or a working code is highly appreciated. Thanks.
Aruna Karunarathna
  • 981
  • 2
  • 23
  • 55
1
vote
2 answers

VC6 MFC error for newly added command buttons into an existing project

I am working with a VC6 MFC project. I tried to add a command button in the existing project. When I double click on the newly added button to fire click event I am getting the below error "cannot add new member". When i tried this with an existing…
raj
  • 343
  • 2
  • 15
1
vote
1 answer

Changing the Background color of a MFC application

I am working on a very large MFC application. There are hundreds of dialogues in this application. Now, I want to change the Background color and Font size of all dialogues in MFC application. How can I do this? Whether I have to handle WM_CTLCOLOR…
user1234085
  • 41
  • 1
  • 8
1
vote
3 answers

Is it possible to add a custom tooltip on a CMFCToolBarComboBoxButton in a CMFCToolbar?

Is it possible to add a custom tooltip on a CMFCToolBarComboBoxButton in a CMFCToolbar ? I can now use the "default" tooltip text as defined in the resource file, but I cannot find the way to be able to dynamically change the tooltip text on the…
Max
  • 3,128
  • 1
  • 24
  • 24
1
vote
0 answers

Gray image for buttons which is disale on toolbar in MFC application

I have a problem in a MFC application When I change DPI of windows 7 then I log off my computer When windows is started, i open my application My problem as bellow : The button of toolbar Which is disabled was not grayed image The image of this…
damme88
  • 11
  • 2
1
vote
1 answer

How to refresh the CMFCRibbonBar after adding/updating an item

After adding a ribbon item, or calling a method that updates an item, the ribbon does not refresh correctly. Sometimes it's OK after resizing the window but most of the time the panel is in a collapsed state. I tried all the functions I could think…
demoncodemonkey
  • 11,730
  • 10
  • 61
  • 103
1
vote
1 answer

MFC feature pack - How to get the font, style and size using CMFCPropertyGridProperty::GetValue

By using CMFCPropertyGridProperty::GetValue I'm able to get the contents of the property grid. I have one property though that gets the font, where when you click on it, shows a dialog box to select the font, size and style. Using this…
Owen
  • 4,063
  • 17
  • 58
  • 78
1
vote
1 answer

how can I use "Visual C++ 2008 Feature Pack" on vc 2008?

I have vc++ 2008 Microsoft Visual Studio 2008 Version 9.0.30729.1 SP on windows7 I downlaod Visual C++ 2008 Feature Pack samples but I can't open the project/solution files. my vc can't open file by extion .vcxproj. what I need to install to fix…
herzl shemuelian
  • 3,346
  • 8
  • 34
  • 49
1
vote
2 answers

MFC feature pack - Couldn't show the dockable pane once closed

By using the wizard, and selecting Office 2007 style, you can come up with a UI that looks like an IDE - a dockable file explorer pane on the left, and a dockable properties pane on the right. However, when you close these dockable panes, there's…
Owen
  • 4,063
  • 17
  • 58
  • 78
0
votes
2 answers

How to pause reading a text file at onclick of button and resume it when Onclick button in mfc vc++?

How to pause reading a text file at onclick of button and resume it when Onclick button in mfc vc++? The file is opened as below CFileException fileException; if (readFile.Open(strFilePath, CFile::modeRead, &fileException) { while…
0
votes
1 answer

MFC: How to prevent app from becoming foreground window when setting focus to a child window

We have an MFC MDI app that during the process of operation can set the focus on a given control, e.g. it might change the active tab if the result of the operation is more appropriate for a different tab. If the app has focus when the SetFocus…
snowdude
  • 3,854
  • 1
  • 18
  • 27
0
votes
1 answer

Tracing MFC message handling

Trying to upgrade an MFC app to use the new MFC feature pack, we are loosing the messages from a context menu. The menu appears and can be clicked, but the message seems not to be handled anywhere. We overrode OnCmdMsg() in lots of places but to no…
stmoebius
  • 662
  • 11
  • 30