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.

In This Section

Name

Description

CustomPages Sample: MFC Toolbar Customization Dialog Application

Demonstrates how to add a custom page to the Toolbar Customization dialog.

DesktopAlertDemo Sample: MFC Desktop Alert Application

Demonstrates how to implement a desktop alert dialog.

DlgToolTips Sample: MFC Dialog Tooltips Application

Demonstrates how to implement advanced tooltips for controls on a dialog box.

DrawClient Sample: MFC Ribbon-Based OLE Object Drawing Application

Demonstrates how to integrate support for a ribbon into an object-oriented drawing application with visual editing container support.

DynamicMenu Sample: MFC Dynamically Updated Menu Application

Demonstrates how to dynamically update a menu on the menu bar and a popup menu at run-time.

Explorer Sample: MFC Windows Explorer Application

Demonstrates how to implement a file system explorer similar to the Windows Explorer, with similar user interface elements and capabilities.

IEDemo Sample: MFC Internet Explorer Application

Demonstrates how to implement an application similar to Internet Explorer, with similar user interface elements and capabilities.

MDITabsDemo Sample: MFC Tabbed MDI Application

Demonstrates how to create an application that uses tabbed MDI documents interface rather than the traditional MDI child windows.

MenuSubSet Sample: MFC Menu Subset Application

Demonstrates how to dynamically remove specific menu items and submenus at application startup.

MSMoneyDemo Sample: Microsoft Money User Interface Sample

Demonstrates how to use MFC to create a user interface similar to Microsoft Money.

MSOffice2007Demo Sample: MFC Office Application

Demonstrates how to implement an editor application similar to an Office 2007 application.

NewControls Sample: MFC Controls Demonstration 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.

OutlookDemo Sample: MFC OutlookDemo Application

Demonstrates how to create an application similar to Microsoft Outlook 2003/2007.

OutlookMultiViews Sample: An SDI Application with Multiple Views and Outlook Bar control

Demonstrates how to switch between multiple views on a single document in an SDI application.

OwnerDrawMenu Sample: OwnerDraw Menu Application

Demonstrates how to draw popup menu items on the fly.

PaletteDemo Sample: Custom Multi Column Toolbar (Palette) Application

Demonstrates how to create a multi-column toolbar with an owner-draw information area.

PropSheetDemo Sample: Property Sheet Demonstration Application

Illustrates various styles of Property Sheet control.

RebarTest Sample: Rebar Testing Application

Demonstrates a customizable Rebar control which hosts a toolbar.

RibbonGadgets Sample: Ribbon Gadgets Application

Demonstrates various controls that can be hosted in the Ribbon Control.

RibbonMDIDemo Sample: MDI with Ribbon Control Demonstration Application

Demonstrates usage of Ribbon Control with Multi Document Interface.

RollupPane Sample: Rolling Up Pane Application

Demonstrates a floating "information" pane, which automatically rolls up.

SetPaneSize Sample: Setting Docking Pane Size Application

Demonstrates how to set docking pane size programmatically.

Slider Sample: MFC Toolbar Slider Application

Demonstrates how to implement a toolbar button that hosts an external control.

StateCollection Sample: MFC Toolbar Collection Application

Demonstrates how to implement an application that saves and loads different states for the menu bar, toolbars, and docking windows.

StatusBarDemo Sample: MFC Status Bar Application

Demonstrates how to add various advanced controls to a status bar.

TabbedView Sample: MFC Tabbed View Application

Demonstrates how to create a view that contains multiple tabbed views, like the tabs in an Excel workbook.

TabControl Sample: MFC Tab Control Application

Demonstrates the MFC Tab Control and the different appearances it has using different properties and visual managers.

TasksPane Sample: MFC Task Pane Application

Demonstrates the MFC Task Pane classes and their different appearances using various properties and visual managers.

ToolbarDateTimePicker Sample: MFC Toolbar Date Time Picker Application

Demonstrates how to integrate a DateTimePicker control with the toolbar.

ToolTipDemo Sample: Demonstrates Advanced MFC ToolTip Features

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.

TrayMenu Sample: MFC Tray Menu Application

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).

VisualStudioDemo Sample: MFC Visual Studio Application

Demonstrates how to implement an application with many of the same user interface features and some of the capabilities of Visual Studio.

WordPad Sample: MFC WordPad Application

Demonstrates how to implement an application that imitates the functionality of WordPad.

WorkSpaceToolBar Sample: MFC Workspace Toolbar Application

Demonstrates how to add a toolbar to a docking pane, like the toolbar in the solution explorer in Visual Studio.

See Also

Concepts

MFC Feature Pack for Visual C++ 2008