Skip to content

Latest commit

 

History

History
 
 

cmnctrl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<!--TO READ THIS HELP FILE, RIGHT-CLICK ON THE FILE NAME IN THE
    SOLUTION EXPLORER PANE AND SELECT "VIEW IN BROWSER"-->

<html><head><title>CMNCTRL3 Sample: Demonstrates New MFC Controls Available in Visual Studio 2008</title></head><body><h1>CMNCTRL3 Sample: Demonstrates New MFC Controls Available in Visual Studio 2008</h1><div id="mainSection"><div id="mainBody"><div id="allHistory" class="saveHistory" onsave="saveAll()" onload="loadAll()" /><p /><div class="introduction"><p>This sample demonstrates some of the new controls available with MFC on Windows Vista, including the command link button (<MSHelp:link keywords="cdc76d5b-31da-43c5-bc43-fde4cb39de5b" tabindex="0" >CButton</MSHelp:link>), the pager control (<MSHelp:link keywords="65ac58dd-4f5e-4b7e-b15c-e0d435a7e884" tabindex="0" >CPagerCtrl</MSHelp:link>), the split button (<MSHelp:link keywords="6844d0a9-6408-4e44-9b5f-57628ed8bad6" tabindex="0" >CSplitButton</MSHelp:link>), and the network address control (<MSHelp:link keywords="cb4c6aca-3f49-4b52-b76c-65f57096155b" tabindex="0" >CNetAddressCtrl</MSHelp:link>).</p><p>The sample creates a tabbed dialog which contains 4 tabs, each of which demonstrates one of the controls:</p><ul><li><p>The <span class="ui">CPagerCtrl</span> tab demonstrates the pager control and some of its capabilities. On this tab you can control the border size, background color, and button size of the pager.</p></li><li><p>The <span class="ui">CButton (Command Link)</span> tab demonstrates the command link button and some of its capabilities. On this tab you can set the content of the note on the command link button and show or hide the elevation icon on the button.</p></li><li><p>The <span class="ui">CSplitButton</span> tab demonstrates the split button and some of its capabilities. On this tab you can set the dropdown menu content, set or clear the dropdown state, set the split style, and set the size of the split portion of the button.</p></li><li><p>The <span class="ui">CNetworkAddressCtrl</span> tab demonstrates the network address control and some of its capabilities. On this tab you can select various address types and then enter a network address and validate it against the selected address types. The edit control uses the <span class="term">banner</span> capability to set the prompt text directly inside the control.</p></li></ul></div><h1 class="heading"><span onclick="ExpandCollapse(requirementsTitleToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(requirementsTitleToggle, event)" tabindex="0">Requirements</span></h1><div id="requirementsTitleSection" class="section" name="collapseableSection" style=""><p>This sample requires Windows Vista or later.</p></div><div id="footer"><div class="footerLine"></div><p /><span>
            Send
        <a href="http://go.microsoft.com/fwlink/?LinkId=50040">

            comments
        </a>
            about this topic to Microsoft.
        </span></div></div></div></body></html>