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

MFC Feature Pack Bug? Ribbon Based GUI does not restore after hibernation (sleep mode)

I've forced with a possible bug feature of MFC Feature Pack under Windows Vista. It can be easily recreated: Create a new SDI app using MFC Feature Pack (with Ribbon based interface). You can also add some floating panels if you want; Do not change…
Mar
  • 941
  • 1
  • 10
  • 18
1
vote
2 answers

VS2010, MFCEditBrowseControl heap crash

I have a simple dialog that contains the new MFC browse edit control. The control was linked to 'CMFCEditBrowseCtrl m_edit' using the member variable wizard. The wizard generated mappings seem fine. On first run, the edit control is populated with…
nspire
  • 1,567
  • 23
  • 26
1
vote
3 answers

How do I dynamically change the text of a CMFCRibbonLabel

My CMDIFrameWndEx derived main frame window uses a CMFCRibbonStatusBar to which I add a CMFCRibbonLabel. I'd like to change the text of this label at runtime: m_pLabel->SetText(description); m_pLabel->Redraw(); It only updates the text but not the…
foraidt
  • 5,519
  • 5
  • 52
  • 80
1
vote
3 answers

How do I make a CMFCToolBar recognize image masks?

I have a CMFCToolBar-derived class and an insance thereof is the member of a CDockablePane-derived class. I looked at the VisualStudioDemo sample to see how it's done and have this so far: int CMyPane::OnCreate(LPCREATESTRUCT lpCreateStruct) { …
foraidt
  • 5,519
  • 5
  • 52
  • 80
1
vote
1 answer

What does CMFCButton::EnableFullTextTooltip do?

I was trying the CMFCButton tooltips and found that if I call EnableFullText() the tooltips don't show. Here's a little sample: // In OnInitDialog() c_MyBtn.m_nFlatStyle =…
MikMik
  • 3,426
  • 2
  • 23
  • 41
1
vote
1 answer

Why am I getting a question mark in my menu in place of a unicode character?

I have a MFC application compiled with MBCS. We are also using the CMFCMenuBar from the MFC Feature Pack to display our menu. I am trying to add unicode characters to my menu using the following code (from this question) MENUITEMINFOW mi; mi.cbSize…
JonDrnek
  • 1,414
  • 3
  • 19
  • 37
1
vote
1 answer

MFC How do you determine if ON_UPDATE_COMMAND_UI is for the menubar or toolbar?

I have a case where I want the menus to set the check on items using ON_UPDATE_COMMAND_UI; however, on the toolbar I'm going to use a dropdown toolbar, so I only want to select the correct toolbar item and not change its checked state. How do I…
user3161924
  • 1,849
  • 18
  • 33
1
vote
1 answer

MFC: Registry key for the application has random GUID keys added with a blank REG_SZ value named "Untitled"?

I noticed that my MFC based applications (also using BCGControlBar Pro) is creating several keys under the application key with a GUID (e.g. Computer\HKEY_CURRENT_USER\SOFTWARE\Acme\Program Name\3CF4873E-E8CC-4e67-A3D2-56F5B610B4FA). In those keys…
user3161924
  • 1,849
  • 18
  • 33
1
vote
2 answers

How to programmatically disable/enable tasks in CMFCTasksPane without completely hiding them?

I have a task bar with tasks that I need to dynamically disable and enable. For now I am doing it by CMFCTasksPane::ShowTask, however that hides/shows the task as well, ideally I would like to grey out the task when it is not enabled. I noticed that…
Sil
  • 200
  • 1
  • 12
1
vote
2 answers

Is it possible to remove CMFCRibbonPanel from CMFCRibbonCategory?

I'm looking for a trick to remove an CMFCRibbonPanel from CMFCRibbonCategory. There is just the AddPanel() function in the CMFCRibbonCategory, but no RemovePanel(). Do I really need to rebuild my whole CMFCRibbonCategory to do this? Just for…
mem64k
  • 748
  • 1
  • 11
  • 25
1
vote
1 answer

CMFCCaptionBar with multiple buttons?

I made a subclass of CMFCCaptionBar in what has so far been a vain attempt to make it do something more useful than just having a single icon, single text field, and single button while still maintaining the same look, feel, and other GUI…
AJG85
  • 15,849
  • 13
  • 42
  • 50
1
vote
1 answer

SetFocus and KillFocus

I have a CMFCTabCtrl in my dialog and my CMFCTabCTrl has two tabs. The first tab has a CComboBox and the second tab also has a CComboBox. Whatever item newly added in ComboBox in first tab will reflect in ComboBox in second tab. Similarly, whatever…
user9444860
1
vote
1 answer

CMFCTabCtrl's Active tab close button

In CMFCTabCtrl there is a function EnableActiveTabCloseButton() to have or not close button on any active tab. I don't want to have close button only in my first tab. Th e other tab will have close button. How to achieve it? Thanks.
user9444860
1
vote
2 answers

How to put checkbox in each CMFCTabCtrl's tab header

I have a MFC application. I am using CMFCTabCtrl in a dialog. My requirement is I have to add a checkbox in each tab page of CMFCTabCtrl as below. Is it possible to add checkbox in each tab page of CMFCTabCtrl ?
user9444860
1
vote
1 answer

AFX_WM_ON_MOVE_TAB notification from CMFCTabCtrl

In my application I have 3 tabbed panes, I am tracking/capturing AFX_WM_ON_MOVE_TAB in my mainframe class. The tab control sends current and previous active tab . It doesn't send its window handle. SendMessage(AFX_WM_ON_MOVE_TAB, m_iTabBeforeDrag,…
user9444860