The Wayback Machine - https://web.archive.org/web/20100504181554/http://www.codeguru.com:80/cpp/controls/

    Controls

    Custom Font in Property Sheets

    CCBPropertySheet: an MFC-extension class for creating property sheets with custom fonts.

    CGraph

    Learn about a graph to display xy and stats data.

    ListView Loading Images BMP, PNG, GIF, JPEG, WMF, ICO, and EMF Files Natively (pure WINAPI)

    Learn about the possibilites and extra functionality that a simple ListView provides for loading images, either from an external image file, an Internet URL, application resources, and from external EXE, DLL, OCS, or CPL files.

    Overcome Window Flicker While Dragging

    Overcomes owner window flicker when implementing dragging functionility.

    General Solution for a Transparent Control

    Discover a very simple, integrated method to make a control, such as static, button, sliderctrl, and progress control transparent in a dialog box.

    Tip: Painting the CToolbar's Parent Window (AfxControlBar)

    Learn how to paint the background color (paint entire window) of CToolbarby using the "AfxControBar".

    Edit Control with Icon and Background Text

    Explore an edit control that can display an icon and a prompt text on the background (when the edit control has no text).

    MFC Extension Classes CListCtrlEx and CListViewEx

    Learn about augmented versions of CListCtrl and CListView with sort direction indicators, coloring of the sort column, column hiding, and more.

    Tab Bar Control

    Learn about the Tab Bar control class that is based on CControlBar and the Windows common tab control; it also uses my wrapper class CTabBarCtrl.

    What's New in MFC 9.0 (Orcas): Command Link Buttons

    Explore the challenges of developing an MFC application to use on Vista and non-Vista platforms in the context of Vista's new Command Link Button style.

    Tree List Control

    Discover an implementation of a tree view, combined with a list view, for the Windows API. The view is compatible with the tree control of the common control.

    TIP: Create In-Place ToolTips on Your Own Controls

    Learn how very easy it is to create in-place ToolTips on your own controls, such as a treeview control.

    Multiple Views Layout Without a Splitter

    Learn how to show multiple views in a frame window without using a splitter.

    Owner Drawing the Submenu Arrow

    Due to a restriction in the Win32 APIs, submenu arrows are always drawn, and always drawn enabled in owner drawn menus. Learn about a workaround for this situation.

    A Deterministic Method of Determining a Document's Modified State

    Determine when a document has been modified. In the particular case of word processors, most tend to have a "dirty" flag that is set when a user types. This article demonstrates a smarter "dirty" flag that uses probabilistic methods.

    Resources Explorer

    Learn about a search files with resources to explore it. The selected resource can be extracted. This tool is a sample of using Splitter, List, Tree, and resource display.

    Secure Random Password Generator

    Generate a secure, random password of a desired length.

    Progress Sphere

    Learn about a class that displays and automates a translucent, shadowed modal dialog with a progress sphere.

    DVD Explorer

    Learn about a new utility to analyse the data's structure on a DVD.

    Mouse Progress Control

    Learn about a progress bar control that follows the mouse cursor by using a system-wide hook.

    Small C++ Class to Transform Any Static Control into a Hyperlink Control

    Discover how to develop your own hyperlink control implementation.

    Matrix-Like Credits for MFC Applications

    This simple class displays Matrix-like credits in MFC applications.

    XP Theme Support for Rich Edit and Custom Controls

    Learn how to add genuine Windows XP theme support to Rich Edit controls and extend the code for your own custom controls!

    Drag and Drop Listbox Items Without OLE

    Rearrange listbox items using drag and drop without OLE.

    Drag and Drop ListBox Items Using OLE

    Learn how to use OLE to allow users to drag and drop ListBox items.

    Select Multiple Items Functionally Without Pressing the CTRL or SHIFT Key in a List View Control

    Learn how to select multiple items without pressing the CTRL or SHIFT key on a touchscreen app or Windows CE app.

    SP Numeric Edit Control

    Learn about a masked numeric edit ActiveX control.

    Transparent ListBox

    Learn about an easy and effective way to implement a smooth and flicker-free transparent listbox.

    CDataGrid Control

    Learn about grid controls programmed with Windows SDK.

    Status Bar with AlphaBlend Fading Text

    Discover a class that uses AlphaBlend fading to enhace the status bar.

    Puzzle, a Game with the MFC Doc/View Architecture (SDI/MDI)

    Learn how to display a menu with thumbnails and several other windows, move and manage the pieces of a puzzle with a linked list, and then show them without flicker.

    Customizable Masked Edit Control

    Learn about an edit control with a masked input that prohibits pasting text with disallowed characters.

    Locking Rebars and Toolbars

    Learn how to lock the toolbars (within a rebar or not) like Windows Explorer under Windows 2000/XP.

    Advanced Tree Control

    Learn about an advanced control based on a standard tree view control. This control supports multiple selection mode and some visual enhancement compared to the original control.

    CRichEditControl50W: A VC++ Rich Text Edit 4.1 MFC Control

    Learn about a simple MFC Rich Edit Control using version 4.1 in msftedit.dll.

    Parent-Independent ToolTip Support for Static (or any) Controls

    Learn how to handle ToolTips that are independent from ToolTip handling in a parent window.

    Changing the Background Color of an Edit Control

    Learn how to change the background color of a text box.

    True Color Image List

    Create true color (24 or 32 bits) image list for trees, lists, and toolbars.

    Light-Weight, Multi-Column, Owner-Drawn ComboBox with AutoCompletion!

    Yet another combo-box but with combined features of multicolumn, ownerdrawing, and autocolumn. Does not use any embedded control!

    Transparent Static Control

    Learn about two different methods of implementing a static control with a transparent background.

    Windows Forms: Creating an SDI ListView and Control Panel UI

    Tom Archer illustrates how easy Visual Studio .NET and Windows Forms make creating interfaces that once required manual coding.

    A Simple Command Line Interface with a Custom Scrollbar

    The CCommandLine control can be used to add a command line interface to any application. It supports a "scrollback buffer" of the last 100 lines typed in, as well as a custom scrollbar whose functionality mirrors that found under certain versions of KDE and Gnome.

    Extensible OLE Property Pages in .NET

    Implementing and utilizing extensible property sheets in your .NET classes has never been easier.

    Enhanced Colored Button

    Enhance your application interface by using a push button that allows you to select its colors.

    Accessing the Address Book Data Using MAPI

    Learn the different ways of accessing the address book data using Extended MAPI. It explains how to work with both smaller and larger address books in a Global Address List of an organization.

    XP Style CColorControl Class with Themed Gradient Buttons

    Learn about a set of control-derived classes for a colorful presentation by using XP-styled hottracked controls with themed gradient buttons.

    Managed Extensions: Finding Files by Extension

    Tom Archer illustrates how to locate files matching a specified extension by using a .NET component and various .NET classes.

    Managed Extensions: Measuring Strings

    Learn how to easily measure the height and width needed to display text values using .NET classes.

    CCustomBitmapButton—MFC Button Control

    Create an owner-draw bitmap button and a frame for the title bar in one class.

    A Very Useful Class to Display SQL SELECT Results

    Display the results of a SQL SELECT operation. Many grid controls are available for VC++ developers, but this control is small yet contains many features for developers and end users.