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

CDockablePane and Accelerators

In my MFC MDI application, I have CDockablePanes. In CDockablePane's I have edit control and listcontrol. For example, if the user is typing text in an edit control in the app, and presses the delete key, instead of deleting a character like normal,…
user9444860
0
votes
0 answers

virtual CMFCListctrl scrollbar flickering

I am using virtual list control. I am refreshing/loading data the list control for each seconds(continuously). I am using the following code: bool CMyListCtrl::Init(CWnd* pParent) { CRect rectDummy; …
user9444860
0
votes
0 answers

MFC Feature Pack Upgrade - CMFCAutoHideBar appears beneath ribbon

I'm working on upgrading an older MFC/C++ application to use the MFC Feature Pack upgrades. I've swapped out the old toolbar/menu for a ribbon, and found that if using the autohide feature of the CDockablePanes, the resulting CMFCAutoHideBar…
0
votes
1 answer

Using CMFCToolBarImages in CMFCTaskPane

In my MFC MDI application I have 10 CMFCToolBar and each has separate imagelist(bitmap images). I implemented task pane using CMFCTaskPane in which I am grouping same tasks or activities what the CMFCToolbar is doing. Can I use/assign each…
user9444860
0
votes
2 answers

C++ MFC Feature Pack --> Create multiple CDockablePanes onto an CDialog

I try to create an area onto a CDialog, where I can put some CDockablePanes in. Those shall be perfectly dockable to a fixed dialog content. The Codejock Dialog Panes Sample is exactly what I want, but realized with the MFC feature pack classes:…
slaindevil
  • 47
  • 1
  • 8
0
votes
3 answers

MFC DockablePane not floating or hiding

Is there any way to make a MFC DockablePane (from the new Feature Pack) that is docked in a window not able to float or to hide (and even disable the context menu that allows the user to select the states - dockable, float, hide etc.) What I…
melculetz
  • 1,961
  • 8
  • 38
  • 51
0
votes
1 answer

Set check of CMFCRibbonCheckBox

The MFC CMFCRibbonCheckBox class only supports IsChecked(). How do I change check status of ribbon check box in program code? Is there way to set check status like CButton::SetCheck().
Hill
  • 3,391
  • 3
  • 24
  • 28
0
votes
2 answers

CMFCMenuBar showing wrong tooltips

I have a SDI project with Feature Pack enabled. The program has a Menu Bar (CMFCMenuBar) and four Tool Bars(CMFCToolBar). Toolbars works correctly: I assigned to the TB's buttons the ID of equivalent menu items and I see TB images on menu…
IssamTP
  • 2,408
  • 1
  • 25
  • 48
0
votes
0 answers

Failed to create menu bar in release build only

I have been converting a large application to MFC feature pack over the last month using Visual Studio 2015. I was finished with development and debugging and ready to create a release build. To my horror, the release build had a severe run-time…
Bob H
  • 135
  • 8
0
votes
2 answers

MFC: Is there an event to detect when a CDockablePane derived window has been opened either by sliding out or showing?

I want to delay initialization of a CDockablePane derived window until the window is actually shown. If the window is simply docked then WM_SHOWWINDOW is pretty effective but when the window is in AutoHideMode WM_SHOWWINDOW is unpredictable and I…
snowdude
  • 3,854
  • 1
  • 18
  • 27
0
votes
0 answers

How can I put a menu inside a CDockablePane?

I would like to put a menu inside a CDockablePane so that the pane can have a standard menu as well as a toolbar. The menu itself does not have to be dockable (neither does the toolbar). As my first attempt, I started with a standard SDI from the VS…
Bill Heitler
  • 187
  • 3
  • 13
0
votes
1 answer

How to change height of edit box associated with CMFCToolbarEditBoxButton

I would like to decrease the height of the edit box associated with a CMFCToolbarEditBoxButton on a CMFCToolBar. I have been able to change successfully the height of a combo box associated with CMFCToolbarComboBoxButton by changing the font size…
Bob H
  • 135
  • 8
0
votes
1 answer

Scale mode,Scale width, Scale height in mfc

What is scale mode in VB wether we can do same logic in mfc . as scale mode is having different modes which are inches etc. how do do in mfc. what scale height ? and let me know how we can do it in mfc. This code is in vb : dScale = m_dScale…
0
votes
2 answers

How to change the sequence in the MDI Tab document menu?

In the tabbed document view of the MFC feature pack the user can re-order the tabs by dragging and dropping and when there is a larger number of tabs in use you have a drop down list at the end. The problem is that the menu item for windows with the…
0
votes
0 answers

Derive a custom class from CMFCVisualManagerOffice2007

I was trying to derive a custom class from CMFCVisualManagerOffice2007. Can you suggest me steps to be followed in order to derive a CCustomMFCVisualManagerOffice2007? I am getting following error: error C2248: …
user173438
  • 171
  • 1
  • 2
  • 8