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
2
votes
1 answer

Discard ALT key press in CMainFrame

I'm having the following code: CMainFrame* pFrame = new CMainFrame; if (!pFrame) return FALSE; m_pMainWnd = pFrame; // create and load the frame with its resources pFrame->LoadFrame(IDR_APP_MAINFRAME, WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE,…
wengseng
  • 1,330
  • 1
  • 14
  • 27
2
votes
2 answers

How can I validat each character entered by the user in MFC property grid control (CMFCPropertyGridCtrl)

I have been trying to validate and update each character in the properties edit box (CMFCPropertyGridCtrl) which was entered by the user.I searched the MSDN and find function like PushChar() etc. But those methods didn't solve my problem. Basically…
Suman Reddy
  • 91
  • 1
  • 13
2
votes
2 answers

MFC Ribbon - get base element clicked from command

I have a CMFCRibbonUndoButton on the ribbon of an MFC application. I have a handler for when its ID is clicked (ON_COMMAND(ID_EDIT_UNDO, ...)). However, when the button is also in the quick access toolbar (QAT), there are apparently two…
AshleysBrain
  • 22,335
  • 15
  • 88
  • 124
2
votes
1 answer

CMDIChildWnd look & feel on Windows-10

I have an MDI application. It has been developed over the years. On Windows-7 everything looks native. When I start the application on windows-10, normal dialogs will have the windows-10 look & feel. But all child views still have the Windows-7 look…
bazz-dee
  • 687
  • 5
  • 23
2
votes
1 answer

Is there any better MFC 2008 Feature Pack Documentation

I'm trying to figure out how to use the CDockablePane. But the just a few total overloaded demo samples (look like marketing samples not intended for programmers) i can't find any Tutorial kind. And the reference is heavy for a medium skilled MFC…
Lothar
  • 12,537
  • 6
  • 72
  • 121
2
votes
1 answer

Error while building MFC 4.1 project in MFC 6.0

I downloaded a project which was originally developed in MFC 4.1. I'm trying to build that project in MFC 6.0. When I opened it using Open WorkSpace, and build it, then following error came. Link : fatal error LNK1104: cannot open file…
user4899254
2
votes
1 answer

MFC Feature Pack 2008 CPaneDialog as CDialogBar

I am writing software with MFC feature pack 2008. My application is based on old version this application. The old version was not written with feature pack. In the old version of this application, there are CToolBar and 3 CDialogBars. It looks as…
Ahemski
  • 93
  • 8
2
votes
1 answer

Outlook bar auto size to tree control

I created an Outlook bar with tree controls and would like to have it auto size to always fully display the text of the tree control. Ideally the border in the picture would move so that "Healthcare Merchandising" is fully visible. newDimbar is a…
2
votes
2 answers

Switching between different ribbons in an MDI application

I'd like to switch between different ribbons for different MDI child frames in my application. I know it's possible with the old style menus, but I can't get it working with the feature pack ribbons. The code used when it's old style…
Jak
  • 471
  • 5
  • 20
2
votes
3 answers

Dockable panes created in CChildFrame not visible the second time the app. starts

I have created some dockable panes in CChildFrame::OnCreate() The first time i start the application they are shown. The second time i start the application they are created but the splitterwindows are completly against the sides of the clients area…
Nijenhuis
  • 109
  • 2
  • 13
2
votes
1 answer

CMFCRibbonBar: GetEditText() doesn't return the actual edit box text of a CMFCRibbonComboBox unless window loses the focus

I have a VS2008 project with a 'Find' panel containing an editable combo box as well as a forward and a backward search button. When I press a search button, GetEditText() returns an outdated value. CMainFrame *pFrame =…
thomiel
  • 2,467
  • 22
  • 37
2
votes
1 answer

Creating Docking Panes in CView instead of CMainFrame

When creating an MDI Application with "Visual Studio" style using the AppWizard of VS2008 (plus Feature Pack), the CMainFrame class gets a method CreateDockingWindows(). Since I don't want all panes to be always visible but display them depending on…
foraidt
  • 5,519
  • 5
  • 52
  • 80
2
votes
2 answers

CMFCPropertyGridCtrl Multiple Selection

Is there a way to enable multiple selection of properties in a CMFCPropertyGridCtrl? I want to manipulate several CMFCPropertyGridProperty together e.g. for deleting them.
fgrollio
  • 25
  • 1
  • 7
2
votes
2 answers

Converting registry access to db calls from MFC Feature Pack

We may start converting an old VS2003 MFC project to use the fancy new features provided by the MFC Feature Pack and VS2008. Several of the new UI controls would be very nice except for one thing - they automatically save their information to the…
Joe
  • 3,827
  • 1
  • 25
  • 37
2
votes
4 answers

How to close dynamically created CDockablePane windows?

In my MFC (Feature Pack) application one can dynamically create docking panes to display charts/tables etc. However, I don't want to let the user open the same thing twice. I create a pane like this: // Create CMyDockablePane…
foraidt
  • 5,519
  • 5
  • 52
  • 80