With VC++ Feature Pack Microsoft has added new classes to MFC to provide support for new controls. However, these controls were not available from the designer. One had to manually wrote all the code for enabling an application to use these controls. Visual Studio 2010 Beta 2, released a couple of weeks ago, provides support in the designer for these controls.
Here is a screen shot of a dialog application with these controls:
The controls are:
- Color button (CMFCColorButton): represent a color picker control allowing users to select a color
- Font combo box (CMFCFontComboBox) : represent a combo control that displays a list of fonts available in the system
- Edit browse (CMFCEditBrowseCtrl): an editable control with a button that displays a dialog for selecting a file or a folder
- Visual Studio list box (CVSListBox): an editable list control with buttons for adding, removing or rearranging items in the list
- Masked edit (CMFCMaskedEdit): a masked edit control that has a string template representing the structure of the allowed input, which is validated against the value provided by the user
- Menu button (CMFCMenuButton): displays a pop-up menu (from a menu resource) and reports the command selected by the user
- Property grid (CMFCPropertyGridCtrl): an editable property grid control
- Shell list (CMFCShellListCtrl): a list control that displays the files and folders from you system just list Windows Explorer list view does
- Shell tree (CMFCShellTreeCtrl): a tree control that displays the folder from your system just like the Windows Explorer folder view does
- Link control (CMFCLinkCtrl): is a special button that has the appearance of a hyperlink and invokes the target link when pressed
Not all the properties for these controls are available from the designer. For instance the properties list still needs hand coding, it is not possible to select a menu resource for the menu button nor the starting point for the shell tree and list. However, having them available in the toolbar is a good step forward.