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
4
votes
4 answers

Can you use CMFCVisualManager with a dialog based application?

Can you use CMFCVisualManager with a dialog based application to change the applications appearance? If so how is it done? The idea is to change the shape, colour etc. of controls such as push buttons using the MFC Feature Pack released with MSVC…
John W
  • 426
  • 1
  • 5
  • 10
4
votes
3 answers

How do I use CMFCRebar to produce an acceptable look and feel?

I am trying to use some classes from the MFC Feature Pack to improve the look & feel of my MFC application. In my application, I use one CReBar object to dock three different toolbars. I have updated the class of this object to use CMFCReBar, but it…
Javier De Pedro
  • 2,219
  • 4
  • 32
  • 49
4
votes
1 answer

Is it possible to manipulate the menu of my CMDIFrameWndEx's CMFCMenuBar?

My main frame has a CMFCMenuBar member, which contains the menu of the current document type. I would like to add/remove a sub-menu dynamically. For example, if the user chooses to display a map pane, I want to add a map submenu next to the "File"…
foraidt
  • 5,519
  • 5
  • 52
  • 80
4
votes
2 answers

CMFCToolTipCtrl or CTooltipManager examples?

Has anyone tried using these new VS2008 MFC classes yet? I can't seem to find any examples anywhere. Even the VS2008 samples(1) don't mention these classes. (They use CToolTip.) (1) Update: My mistake. I had downloaded the non-SP1 samples. I see…
skst
  • 575
  • 9
  • 15
4
votes
1 answer

MFC SDI Application without a default "New Document" on Startup

My application is an SDI with multiple views. By default, it creates a new document when the application starts. I want to modify this behavior so that a new document is created only when user explicitly clicks on "New". Or at least mimic this…
Jujjuru
  • 651
  • 3
  • 8
4
votes
1 answer

CMFCToolbar layout not restored properly between sessions

I'm having a problem with the CMFCToolbar class where the positions of the toolbars are not being restored properly between sessions. Here is a screen shot of how the toolbars are arranged before the app is closed: (source: achavis.net) Here is a…
Avalanchis
  • 4,500
  • 3
  • 39
  • 48
4
votes
2 answers

CMFCTabCtrl catch tab change event

I want to catch the tab change event of a CMFCTabCtrl. Below is the code I'm trying to do that. But it does not catch the change event. BOOL SurvChatDlg::OnNotify( WPARAM wParam, LPARAM lParam, LRESULT* pResult ) {…
Aruna Karunarathna
  • 981
  • 2
  • 23
  • 55
4
votes
1 answer

How to Remove Visual C++ "Expand Menu" Arrow?

When creating menus with submenus in Visual C++, I find that submenus begin as arrows that I must click to expand to see their contents. Is there a way (programmatically) to have the submenus pop-out already expanded (with no arrow to click)? Here…
Nathan Fig
  • 14,970
  • 9
  • 43
  • 57
4
votes
1 answer

CMFCColorButton::SetPalette

Recently I began to use CMFCColorButtons in my application replacing old custom controls. Now I want to restrict the colors that are selectable. Therefore, I found the method "SetPalette". I create a CPalette like the following within the…
CppChris
  • 1,226
  • 9
  • 14
3
votes
2 answers

How to modify the tool rect of a CToolTipCtrl?

This question is related to this one. In a CDockablePane derived class I have a CTreeCtrl member for which I add a ToolTip in OnCreate(): int CMyPane::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CDockablePane::OnCreate(lpCreateStruct) == -1) …
foraidt
  • 5,519
  • 5
  • 52
  • 80
3
votes
2 answers

Cannot edit labels in a CListCtrl

I'm building a project with MFC Feature Pack. Is this project I have a window which includes a CView, which includes a CListCtrl-derived object. The object includes the LVS_EDITLABELS flag. Somehow I cannot edit the CListCtrl icon labels by two-time…
djeidot
  • 4,542
  • 4
  • 42
  • 45
3
votes
2 answers

MFC C++ Derive from CEdit and derive GetWindowText

I am deriving from CEdit, to make a custom control. It would be nice, if like the MFC Feature Pack controls (Mask, Browsable) that I could change GetWindowText to actually report back not what is normally displayed on the control (for example,…
Mary Ellen Bench
  • 589
  • 1
  • 8
  • 28
3
votes
1 answer

Disable some context menu items if no items are checked

I have a tree view (CTreeView) that will show me a pop-up menu after I right-click my mouse on it. In my context menu there are only 3 items (i.e A, B, C) for selection and my tree view displays a long list of ordered foods designed with…
Hello Everyone
  • 329
  • 4
  • 11
3
votes
1 answer

MFC "Hidden" or "Default" Function Key Accelerators?

I have a pretty normal MFC SDI application. I recently started using things from the new MFC feature pack (eg CMFCToolbar), and after all these changes, I am seeing some unexplained behavior in keyboard shortcuts. It seems some resource IDs have…
sg_man
  • 763
  • 1
  • 6
  • 14
3
votes
2 answers

CVSListBox notification after delete

I've just added one of the new (MFC Feature Pack) CVSListBox controls to a project. The list of items in the control is tracked by some other objects in my application, so I need to take lots of notifications from the list-box when anything changes…
Will Dean
  • 39,055
  • 11
  • 90
  • 118
1
2
3
13 14