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

What is difference between CFrameWndEx::AdjustDockingLayout() and CFrameWndEx::RecalcLayout()?

What is difference between CFrameWndEx::AdjustDockingLayout() and CFrameWndEx::RecalcLayout() ? Both of them to do similar tasks as documentation says: AdjustDockingLayout(), RecalcLayout(). Besides that, Interface Elements doc says that You can…
23W
  • 1,413
  • 18
  • 37
1
vote
1 answer

CMFCColorDialog not working in MFC Property Page as Release, OK as Debug

The title pretty much explains it. Here's the function to display the ColorDialog when a button is clicked: void CMyPP::OnBnClickedButtonCol() { CMFCColorDialog dlg(m_text_colour); if (dlg.DoModal() == IDOK) { m_text_colour…
gregston
  • 147
  • 13
1
vote
2 answers

Does CMFCStatusBar::SetPaneIcon supports alpha icon?

My App setup icons for panes in status bar (class CMFCStatusBar). There is only one method for this task - CMFCStatusBar::SetPaneIcon(). But if icon have alpha channel this method loads wrong image (on black background). I looked into the source…
23W
  • 1,413
  • 18
  • 37
1
vote
3 answers

How to disable the restoration of text in MenuBar items in an MFC Feature Pack application?

My application is written with the MFC Feature Pack (VS2012). It can switch UI localization by loading data from a resource dll. But the CMFCMenuBar menu restores the original text of menu items when the application is reloaded. If I use…
23W
  • 1,413
  • 18
  • 37
1
vote
1 answer

Buttons not getting replaced in CMFCToolbar at runtime

I am using CMFCToolbar in a CMFCDesktopAlertDialog which is contained inside a CMFCDesktopAlertWnd. Initially I create the window and insert 3 buttons. Then on some action, I want to change those buttons to 2 or 3 different buttons. I tried using…
Ashish
  • 53
  • 6
1
vote
0 answers

add a picture in a panel for mfc ribbon menu

I am trying to add a picture in a panel in mfc ribbon menu and could not find a function. The basic idea is to add a big picture showing device type when the device type change. I am using visual c++ 2010 and 2013. Any suggestion?
codingForFun
  • 113
  • 1
  • 15
1
vote
2 answers

How to include special Char in Static text lable?

In Static text Label, I want to include a special char,which is having ASCII value 167.I am having a Static text ID.How Can I display the Special Char in that Static Text label using that Id in a Dialog Window? Thanks in Advance....
Prabhu Harin
  • 69
  • 2
  • 7
1
vote
1 answer

How To make a static text bold and underline in MFC

I am having a message window to display an error message. In that message some text should be bold and underlined. I am using static text. I am using the following code. m_font.CreateFont(10,0,0,0,FW_BOLD,0,0,0,0,0,0,0,0,"Arial"); GetDlgfItem(Id of…
Prabhu Harin
  • 69
  • 2
  • 7
1
vote
1 answer

DockPaneLeftOf in CMDIChildWndEx Frame

I have the following code and I want to dock the CMFCToolBars in one row, but using DockPaneLeftOf does not result in any toolbars, except MainTools, displaying. Using only DockPane results in the toolbars displaying below each other. Any…
Jak
  • 471
  • 5
  • 20
1
vote
2 answers

How do I display a tooltip for a CMFCRibbonButton in the status bar?

I have a CMFCRibbonStatusBar in my mainframe to which I add a CMFCRibbonButtonsGroup which again has a CMFCRibbonButton. This button has the same ID as a menu entry. Creating the button is done as follows: CMFCRibbonButtonsGroup* pBGroup = new…
foraidt
  • 5,519
  • 5
  • 52
  • 80
1
vote
1 answer

AFX/MFC Intercept ALL command messages

I'm attempting to use CMFCCmdUsageCounter to track command usage in my program. This class requires I call AddCmd(ID_COMMAND); every time the ID_COMMAND is handled/sent. Since my program has thousands of ID_COMMAND's, which are handled throughout…
diox8tony
  • 348
  • 3
  • 13
1
vote
2 answers

Ribbon button items with large images and checkboxes

I've got a menu attached to a split ribbon button like this (VS2008, Feature Pack): std::auto_ptr apBtn3(new CMFCRibbonButton(ID_RIBBON_BTN_3, _T("Split Button"), 2, 2)); apBtn3->SetMenu(IDR_RIBBON_MENU_1,…
thomiel
  • 2,467
  • 22
  • 37
1
vote
1 answer

how to add an image along with text in a button in MFC?

Am having a hard time in adding image along with a text in a Button..I know that it can be done by enabling the owner draw function with bitmapbutton class..But I dont want to that..so is ther anyother way that i can add an image along with text…
kiddo
  • 1,596
  • 7
  • 31
  • 60
1
vote
4 answers

How to customize CMFCMenuBar in an MFC application

Is there a way to create dynamic menu items in the menu bar of an MFC applications created with visual studio 2008 style with menus not ribbon, I have plugins that add their menus dynamically how can I add them to that menu??? I see //this is the…
ahmedsafan86
  • 1,776
  • 1
  • 26
  • 49
1
vote
2 answers

How to dock CPaneDialog to MainFrm and..?

I have problem with CPaneDialog. I tested with SetPaneSize MFC feature pack sample projects. What is weird is that CPaneDialog can't be docked to MainFrm while CDockablePane can be. The CPaneDialog is also a child class of the CDockablePane, but it…
JongAm Park
  • 623
  • 7
  • 9