|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Samples (MFC Feature Pack)
This section includes samples demonstrating MFC Feature Pack features. The samples are included when you install the feature pack. By default, samples are copied into the MFC samples under \%install%\Visual Studio 9.0\Samples\. To download the feature pack, see Visual C++ 2008 Feature Pack Release.
Demonstrates how to add a custom page to the Toolbar Customization dialog.
Demonstrates how to implement a desktop alert dialog.
Demonstrates how to implement advanced tooltips for controls on a dialog box.
Demonstrates how to integrate support for a ribbon into an object-oriented drawing application with visual editing container support.
Demonstrates how to dynamically update a menu on the menu bar and a popup menu at run-time.
Demonstrates how to implement a file system explorer similar to the Windows Explorer, with similar user interface elements and capabilities.
Demonstrates how to implement an application similar to Internet Explorer, with similar user interface elements and capabilities.
Demonstrates how to create an application that uses tabbed MDI documents interface rather than the traditional MDI child windows.
Demonstrates how to dynamically remove specific menu items and submenus at application startup.
Demonstrates how to use MFC to create a user interface similar to Microsoft Money.
Demonstrates how to implement an editor application similar to an Office 2007 application.
Demonstrates the capabilities of many of the controls implemented in MFC, including customizable buttons, color picker controls and palettes, a font chooser, an image editor, a property grid, a masked edit control, and shell list and tree controls.
Demonstrates how to create an application similar to Microsoft Outlook 2003/2007.
Demonstrates how to switch between multiple views on a single document in an SDI application.
Demonstrates how to draw popup menu items on the fly.
Demonstrates how to create a multi-column toolbar with an owner-draw information area.
Illustrates various styles of Property Sheet control.
Demonstrates a customizable Rebar control which hosts a toolbar.
Demonstrates various controls that can be hosted in the Ribbon Control.
Demonstrates usage of Ribbon Control with Multi Document Interface.
Demonstrates a floating "information" pane, which automatically rolls up.
Demonstrates how to set docking pane size programmatically.
Demonstrates how to implement a toolbar button that hosts an external control.
Demonstrates how to implement an application that saves and loads different states for the menu bar, toolbars, and docking windows.
Demonstrates how to add various advanced controls to a status bar.
Demonstrates how to create a view that contains multiple tabbed views, like the tabs in an Excel workbook.
Demonstrates the MFC Tab Control and the different appearances it has using different properties and visual managers.
Demonstrates the MFC Task Pane classes and their different appearances using various properties and visual managers.
Demonstrates how to integrate a DateTimePicker control with the toolbar.
Demonstrates how to use advanced MFC tooltip features. It demonstrates the following 4 types of tooltips: standard, custom tooltip with parameters, extended, and a CMFCToolTipCtrl-derived tooltip object.
Demonstrates the ability to use MFC Control Bar menus with the system tray icon (like the notification icons in the lower right corner of the display).
Demonstrates how to implement an application with many of the same user interface features and some of the capabilities of Visual Studio.
Demonstrates how to implement an application that imitates the functionality of WordPad.
Demonstrates how to add a toolbar to a docking pane, like the toolbar in the solution explorer in Visual Studio.