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

Should the new MFC Feature pack contols appear in VS toolbox

I'm trying to use some of the new MFC feature pack controls on an existing MFC app, with VS2008 SP1. None of the new controls appear in the dialog-editor toolbox. Should I expect them to be there, and if so, do people have any suggestion for how to…
Will Dean
  • 39,055
  • 11
  • 90
  • 118
3
votes
1 answer

Changing CFrameWnd to CFrameWndEx in MFC causes unhandled exception - any ideas?

Still getting used to this MFC lark and I've hit a brick wall on this particular problem. I'm updating some legacy code to use some of the more refined controls available in the MFC Feature Pack. Following the examples given online for updating an…
Monobounce
  • 108
  • 1
  • 8
3
votes
3 answers

How to use F10 as a shortcut in an MFC application using a Ribbon

I developed an MFC application using VS2008 and the MFC featurepack. This application UI is using a ribbon. I now need to have F10 as a proper shortcut for one of the critical feature of my application but I seem to be unable to set the accelerator…
Fabien Hure
  • 644
  • 3
  • 7
  • 17
3
votes
5 answers

How do I display custom tooltips in a CTreeCtrl?

I have a class derived from CTreeCtrl. In OnCreate() I replace the default CToolTipCtrl object with a custom one: int CMyTreeCtrl::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CTreeCtrl::OnCreate(lpCreateStruct) == -1) return -1; …
foraidt
  • 5,519
  • 5
  • 52
  • 80
3
votes
0 answers

Duplication of menu items in Window Menu of CMFCMenuBar

I ported my MFC application to Feature pack.When i try to insert a new sub menu/popup menu to CMFCMenuBar, the menu items in "Window" menu gets duplicated. Kindly help me. I used the below code to insert submenu. CMenu* pMenu; HMENU…
3
votes
1 answer

CMFCPropertyGridProperty numeric input

I'm using MFC feature pack and I have a dockable properties window. How do I restrict the user from typing any other characters but numbers alone in the values field? Thanks...
Owen
  • 4,063
  • 17
  • 58
  • 78
3
votes
2 answers

Why is CMFCMenuBar not utilizing the accelerator table?

In a doc/view project using VS2008, a MFCMenuBar seems to load the correct MENU resource (IDR_MAINFRAME) from the project, since adding and removing menu items is reflected in the menu's UI. It even appends the accelerators to the default menu…
bsruth
  • 5,372
  • 6
  • 35
  • 44
3
votes
3 answers

Is it possible to add CMFCToolBar to a dialog?

I just tryed the standard way for adding CToolbar to a dialog on the new CMFCToolBar. But it doesn't work. Befor I dip into the new implementation, I want to know if it actually possible?
mem64k
  • 748
  • 1
  • 11
  • 25
2
votes
0 answers

MFC Feature Pack - Toolbars loading at wrong position after adding new toolbar

I have an MFC Feature Pack app with several toolbars (CMFCToolbar) whose positions are saved between sessions. Now I've added a new toolbar, and I've moved some buttons from other toolbars to the new one. The problem is that now, when I first…
MikMik
  • 3,426
  • 2
  • 23
  • 41
2
votes
1 answer

CMFCPropertyGridProperty list of values?

Is there a standard way to hold a user editable list of values in a CMFCPropertyGridProperty? I'm thinking a string with semi-colon delimiter (that seems to be the windows standard). If I want an edit interface for this how would I build that?
User
  • 62,498
  • 72
  • 186
  • 247
2
votes
0 answers

MFC Feature Pack - How to add accelerators without deleting user's customization

I want to add new accelerators to my MFC Feature Pack application. The problem is the app loads the accelerators already stored in the registry, thus disabling the new ones I've added. I know I could delete the Keyboard-# key in the registry, but…
MikMik
  • 3,426
  • 2
  • 23
  • 41
2
votes
1 answer

How to get keyboard accelerators for a command ID?

The MFC feature pack seem to magically print the resources keyboard accelerator shortcuts to the tooltip of a menu item. How would I find the key combination for any given command ID (if all I have is the HACCEL handle?).
KungPhoo
  • 516
  • 4
  • 18
2
votes
0 answers

CCcomboBoxEx spacing between image and text

Is there any way, some system metrics value, or anything else that can give how many pixels is the margin between the icon and the image on the CComboBoxEx control? The space signaled by the red mark in the image below:
sergiol
  • 4,122
  • 4
  • 47
  • 81
2
votes
3 answers

Reset Layout of CDockablePane

I migrated my MFC MDI application to use the new MFC Feature Pack. I have many toolbars and dockable panes. As far as I understand, the location and size of each of them is saved in the registry when closing the application, and loaded when loading…
user9444860
2
votes
2 answers

Visual Studio 2010 - C++ MFC application with Ribbon UI - Transparency in bitmaps

I am playing around with a small MFC-wizard-generated application, in Visual C++ 2010, and I just decided to put my own bitmap into the resources to replace the three-cubes MFC bitmap that shows up in the ribbon UI Application Button, aka the…
Warren P
  • 65,725
  • 40
  • 181
  • 316
1 2
3
13 14