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

MFC CdockablePane Change Look

I'm upgrading an old MFC project to use the MFC Feature Pack and Ribbon. I changed a pane derived from CControlBar to be derived from CDockablePane and it works great, however it still looks old and does not blend with the ribbon look and theme. The…
Jak
  • 471
  • 5
  • 20
0
votes
1 answer

Updating to MFC Feature Pack

I have several Toolbars/Menubars derived from the code Sizing Control Bar that I would like to be able to use with CFrameWndEx but I'm unable to find an easy to use the ShowPane functions with the CControlBar derived objects. For instance with…
Jak
  • 471
  • 5
  • 20
0
votes
1 answer

2 CMFCTabControls on different position, but tabs stay on the same place

I've would like to have 2 sets of tabs on my CScrollView -derived class, so I put 2 CMFCTabCtrs side by side. The tab controls are filled with dialogs (currently same class, but different objects for test purpose, later different dialogs for each…
Andrey Pro
  • 501
  • 1
  • 10
  • 22
0
votes
1 answer

CMFCPropertSheet with wizard mode

I'm trying to give some modernized look to a old MFC application. I have changed all the CPropertSheet and CPropertPages to CMFCPropertSheets and CMFCPropertPage. I was success when using SetLook(CMFCPropertySheet::PropSheetLook_List); in normal…
0
votes
1 answer

MFC Ribbon: RemoveAllSubItems() in CView::OnUpdate leads to access violation (VS2008)

To reproduce the behavior, start a new MFC Outlook style project with Ribbon (CMyView as the view class name). Let's say I want to modify a menu of a CMFCRibbonButton, for example the subitems of the Print command, and for this, I want to…
thomiel
  • 2,467
  • 22
  • 37
0
votes
1 answer

CPreviewView and command handlers

My program/environment...VS2010, C++, MFC100, CWinAppEx, CMDIFrameWndEx. MFC feature pack. I am creating and handling a CPreviewView derivative. My method treats this preview view as a normal view that the user can keep up and active. Where as the…
diox8tony
  • 348
  • 3
  • 13
0
votes
1 answer

How to Place DialogBar or Dialog box into pane in vc 2008 or vc 2010 Beta

Hi now i am working in 2003 vc++ and i am converting(migrating) my project in to vc 2008 or new vc 2010 Beta,i saw the feature pack of 2008,2010 regards CDockable Pane(Auto Hode,floating),so i require this features ,i want to place a dialogbox or…
user268464
  • 1
  • 1
  • 2
0
votes
1 answer

CMFCToolbar and CMDIFrameWnd

I am converting some CToolbars to CMFCToolbars, my CMainFrame inherits from a CMDIFrameWnd class. However I can find no way to dock a CPane / CMFCToolbar to a CMDIFrameWnd, every tutorial or source I have seen uses a CMDIFrameWndEx as the CMainFrame…
diox8tony
  • 348
  • 3
  • 13
0
votes
0 answers

CLabel Displaying box characters in the text if it exceeds its control height - MFC?

I have a text to be displayed on dialog. I used CLabel which extends CStatic Class. Problem is, if i have to display multi-line in CLabel considering, it can adjust up to two lines. if i have to enter third line i used DT_WORD_ELLIPSIS flag so that…
user2059287
  • 15
  • 1
  • 8
0
votes
1 answer

Prevent CDockablePane from closing

I have a CPaneDialog which uses a dialog resource to show two graphics. One graphic is left justified and the other right justified. I always want that pane to be at the top of the main window below the menu bar. I want it to always be there, and…
cigarman
  • 635
  • 6
  • 15
0
votes
2 answers

Disabling customization only on MFC menu bar

When using the MFC feature pack in VS2010, is it possible to disable the customization feature on the CMFCMenuBar but leave it enabled on the toolbars? We don't want users dragging menus around but they're free to change the toolbars. We disabled…
sleepp
  • 47
  • 1
  • 7
0
votes
1 answer

Capture paste event in CMFCToolBarEditBoxButton

We have an MFC SDI application in VS2010 with a CMFCToolBar containing a CMFCToolBarEditBoxButton. Is there a way to handle the paste event when a user pastes something into that edit box? We handle ON_COMMAND(ID_EDIT_PASTE, OnEditPaste) in the…
sleepp
  • 47
  • 1
  • 7
0
votes
0 answers

How to format CMFCPropertyGridProperty for float/double values

I have several properties that are floats. By default, the CMFCPropertyGridProperty displays these with 6 decimal places. I want them to display with 2 decimal places as in 12.75 vs 12.750000. So I put in the following…
John Frickson
  • 179
  • 1
  • 3
  • 16
0
votes
0 answers

MFC Feature Pack: Re-show classic Menu under XP

We ported our program to use MFC Feature Pack. The problem is that the menu bar is not visible when Windows XP is used. (With Windows 7 it works.) This seems to be a known problem and a codeproject article recommends using CMFCMenuBar. But we don't…
user178379
  • 240
  • 2
  • 11
0
votes
1 answer

How can I extend a CMFCRibbonPanel in MFC feature Pack

I want to extend CMFCRibbonPanel - but the constructor is protected (I get the following error: cannot access protected member declared in class 'CMFCRibbonPanel'). The only way to obtain a CMFCRibbonPanel instance is by calling…
melculetz
  • 1,961
  • 8
  • 38
  • 51