Click here to Skip to main content
15,884,388 members
Articles / Programming Languages / C#

URLComboBox: A Window Forms Control for Displaying URLs

Rate me:
Please Sign up or sign in to vote.
4.86/5 (14 votes)
25 Feb 2002CPOL2 min read 177.2K   2.2K   60  
A Window Forms control for displaying URLs similar to URL combo in Internet Explorer
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>URLCombo</name>
    </assembly>
    <members>
        <member name="T:CP.Windows.Forms.UnManagedMethods">
            <summary>
            All unmanaged DllImport methods used in this assembly
            </summary>
        </member>
        <member name="T:CP.Windows.Forms.AutoCompleteFlags">
            <summary>
            A simple enumeration that wraps various auto complete flags of SHAutoComplete.
            See documenation of SHAutoComplete for details
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.AutoCompleteFlags.FileSystem">
            <summary>
            This includes the File System as well as the rest of the shell (Desktop\My Computer\Control Panel\)
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.AutoCompleteFlags.URLHistory">
            <summary>
            URLs in the User's History
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.AutoCompleteFlags.URLMRU">
            <summary>
            URLs in the User's Recently Used list.
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.AutoCompleteFlags.UseTab">
            <summary>
            Use the tab to move thru the autocomplete possibilities instead of to the next dialog/window control.
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.AutoCompleteFlags.FileSystemOnly">
            <summary>
            This includes the File System
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.AutoCompleteFlags.FileSystemDirs">
            <summary>
            Same as FileSystemOnly except it only includes directories, UNC servers, and UNC server shares.
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.AutoCompleteFlags.AutoSuggestForceOn">
            <summary>
            Ignore the registry default and force the auto suggest feature on.
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.AutoCompleteFlags.AutoSuggestForceOff">
            <summary>
            Ignore the registry default and force the auto suggest feature off
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.AutoCompleteFlags.AutoAppendForceOn">
            <summary>
            Ignore the registry default and force the auto append on. 
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.AutoCompleteFlags.AutoAppendForceOff">
            <summary>
            Ignore the registry default and force auto append off. 
            </summary>
        </member>
        <member name="T:CP.Windows.Forms.MRUKeyHive">
            <summary>
            Enumeration for possible types of registry base keys for storing most recntly typed URLs
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.MRUKeyHive.CurrentUser">
            <summary>
            Value that indicates HKEY_CURRENT_USER should be used for MRUKey property
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.MRUKeyHive.LocalMachine">
            <summary>
            Value that indicates HKEY_LOCAL_MACHINE should be used for MRUKey property
            </summary>
        </member>
        <member name="T:CP.Windows.Forms.URLComboBox">
            <summary>
            A control that extends the regular combo box to show URLs.
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.URLComboBox._flags">
            <summary>
            Member variable which stores the autocomplete flags
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.URLComboBox._mruKey">
            <summary>
            Member variable which stores the mru key
            </summary>
        </member>
        <member name="F:CP.Windows.Forms.URLComboBox._mruKeyHive">
            <summary>
            Member variable which stores the mru key hive
            </summary>
        </member>
        <member name="M:CP.Windows.Forms.URLComboBox.#ctor">
            <summary>
            Initilaizes a new instance of URLComboBox
            </summary>
        </member>
        <member name="M:CP.Windows.Forms.URLComboBox.GetMRUKey(System.Boolean)">
            <summary>
            Gets the registry key where MRU URLs are stored
            </summary>
            <param name="writable">Indicates whether to get the key so that it values written to it</param>
            <returns>RegistryKey object for the MRU registry key or null if none exists</returns>
        </member>
        <member name="M:CP.Windows.Forms.URLComboBox.TraceIgnoredError(System.Exception)">
            <summary>
            Writes information about any ignored exception to the trace.
            </summary>
            <param name="e">The exception which is being ignored</param>
        </member>
        <member name="M:CP.Windows.Forms.URLComboBox.MRUFill">
            <summary>
            Utility function to fill the combob box most recently typed URLs read from registry.
            </summary>
        </member>
        <member name="M:CP.Windows.Forms.URLComboBox.OnValidated(System.EventArgs)">
            <summary>
            Writes the recntly typed URL to the registry if it is not already there
            </summary>
            <param name="e"></param>
        </member>
        <member name="M:CP.Windows.Forms.URLComboBox.OnHandleCreated(System.EventArgs)">
            <summary>
            Finds the handle to the edit control and calls SHAutoComplete on it.
            Also fills the combobox from the values read from the registry
            </summary>
            <param name="e">Ignored</param>
        </member>
        <member name="P:CP.Windows.Forms.URLComboBox.Flags">
            <summary>
            Gets or sets the auto complete flags
            </summary>
        </member>
        <member name="P:CP.Windows.Forms.URLComboBox.MRUKey">
            <summary>
            Gets or sets the registry key name where the combo box maintains MRU list.
            </summary>
        </member>
        <member name="P:CP.Windows.Forms.URLComboBox.MRUKeyHive">
            <summary>
            Gets or sets the registry key hive for the MRUKey property.
            </summary>
        </member>
    </members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions