Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "select" in [All]

winmm

.

Use "Auto" in the Declare statement to have the correct character set selected automatically.

user32

.

Useful to create a temporary block in input for sensitive GUI operations. For instance when manually activating a screen saver from within a GUI function, a short blocking delay will prevent the user mouse movements directly after selection from accidently escaping the screen saver.

.

                uint nselected = Helpers.DragQueryFile(m_hDrop, 0xffffffff, null, 0);

.

                if (nselected == 1)

.

/// <param name="x">Specifies the initial horizontal position of the window. For an overlapped or pop-up window, the x parameter is the initial x-coordinate of the window's upper-left corner, in screen coordinates. For a child window, x is the x-coordinate of the upper-left corner of the window relative to the upper-left corner of the parent window's client area. If x is set to CW_USEDEFAULT, the system selects the default position for the window's upper-left corner and ignores the y parameter. CW_USEDEFAULT is valid only for overlapped windows; if it is specified for a pop-up or child window, the x and y parameters are set to zero.</param>

.

/// <param name="nWidth">Specifies the width, in device units, of the window. For overlapped windows, nWidth is the window's width, in screen coordinates, or CW_USEDEFAULT. If nWidth is CW_USEDEFAULT, the system selects a default width and height for the window; the default width extends from the initial x-coordinates to the right edge of the screen; the default height extends from the initial y-coordinate to the top of the icon area. CW_USEDEFAULT is valid only for overlapped windows; if CW_USEDEFAULT is specified for a pop-up or child window, the nWidth and nHeight parameter are set to zero.</param>

.

''' <param name="x">Specifies the initial horizontal position of the window. For an overlapped or pop-up window, the x parameter is the initial x-coordinate of the window's upper-left corner, in screen coordinates. For a child window, x is the x-coordinate of the upper-left corner of the window relative to the upper-left corner of the parent window's client area. If x is set to CW_USEDEFAULT, the system selects the default position for the window's upper-left corner and ignores the y parameter. CW_USEDEFAULT is valid only for overlapped windows; if it is specified for a pop-up or child window, the x and y parameters are set to zero.</param>

.

''' <param name="nWidth">Specifies the width, in device units, of the window. For overlapped windows, nWidth is the window's width, in screen coordinates, or CW_USEDEFAULT. If nWidth is CW_USEDEFAULT, the system selects a default width and height for the window; the default width extends from the initial x-coordinates to the right edge of the screen; the default height extends from the initial y-coordinate to the top of the icon area. CW_USEDEFAULT is valid only for overlapped windows; if CW_USEDEFAULT is specified for a pop-up or child window, the nWidth and nHeight parameter are set to zero.</param>

.

    internal const UInt32 MF_MOUSESELECT      =0x00008000;

.

/// Gets the data on the clipboard in the format specified by the selected item of the specified listbox.

.

     uint SelectedFormat = GetSelectedClipboardFormat(ListBox);

.

     if (SelectedFormat != 0)

.

     //Get pointer to clipboard data in the selected format

.

     IntPtr ClipboardDataPointer = GetClipboardData(SelectedFormat);

.

                VK_SELECT = 0x29,

.

                VK_LAUNCH_MEDIA_SELECT = 0xB5,

.

    VK_SELECT    = 0x29,

.

    VK_LAUNCH_MEDIA_SELECT= 0xB5,

.

            Me.SelectionLength = 1

.

    If Selection.poStatus <> Selection.EnumSelection.NoSelection Then

.

        Dim loSelected As RECT

.

        loSelected.Left = Selection.poArea.Left

.

        loSelected.Top = Selection.poArea.Top

.

        loSelected.Right = Selection.poArea.Right

.

        loSelected.Bottom = Selection.poArea.Bottom

.

        InvertRect(hdc.ToInt32, loSelected)

.

With the enum beepType you get intellisense when you type "beep." and you can then select the kind of beep you want. For dylan.NET, use the fields containing the integer values inside the WinSnd class of dnu.dll at http://dylandotnetapps.codeplex.com/

.

        Select Case MsgWaitForMultipleObjects(1, arrHandles, 1, waitInterval, QS_ALLEVENTS)

.

        End Select

.

        Select Case MsgWaitForMultipleObjects(1, arrHandles, 1, waitInterval, QS_ALLEVENTS)

.

        End Select

.

            // New power scheme selected.

.

const uint EVENT_OBJECT_SELECTION = 0x8006; // hwnd ID idChild is selected item (if only one), or idChild is OBJID_WINDOW if complex

.

const uint EVENT_OBJECT_SELECTIONADD = 0x8007; // hwnd ID idChild is item added

.

const uint EVENT_OBJECT_SELECTIONREMOVE = 0x8008; // hwnd ID idChild is item removed

.

const uint EVENT_OBJECT_SELECTIONWITHIN = 0x8009; // hwnd ID idChild is parent of changed selected items

.

const uint EVENT_OBJECT_TEXTSELECTIONCHANGED = 0x8014; // hwnd ID idChild is item w? test selection change

.

Now you can use the font info however you want. Here's how to return a GDI+ Font corresponding to the MessageBox font selected by the user. Note that the height is always negative and always returns "world" units.

.

        Select Case m.Msg

.

        End Select

.

            oldBitmap = Win32.SelectObject(memDc, hBitmap);

.

                Win32.SelectObject(memDc, oldBitmap);

.

        public extern static IntPtr SelectObject(IntPtr hDC, IntPtr hObject);

.

Public Const VK_SELECT = &H29

.

    public const uint VK_SELECT = 0x29;

.

    public const uint VK_LAUNCH_MEDIA_SELECT = 0xB5;

.

      foreach(var culture in (new string[]{"he-IL", "en-US", "en-IE"}).Select(code => CultureInfo.GetCultureInfo(code)))

.

      foreach(var culture in (new string[]{"he-IL", "en-US", "en-IE"}).Select(code => CultureInfo.GetCultureInfo(code)))

wtsapi32

.

    Select Case State

.

    End Select

coredll

.

        Select Case val

.

        End Select

.

        Select Case val

.

        End Select

.

    public const UInt64 TGF_GID_SELECT           = 0x0000000000004000;

.

    public const UInt64 TGF_GID_DOUBLESELECT     = 0x0000000000008000;

.

    public const UInt64 TGF_GID_SELECT               = 0x0000000000004000;

.

    public const UInt64 TGF_GID_DOUBLESELECT         = 0x0000000000008000;

.
WARNING
This is not the REAL SelectObject. This signature uses the wrong dll. Search for the one with [DllImport("gdi32.dll" ....
.

[DllImport ("coredll.dll", EntryPoint="SelectObject", SetLastError=true)]

.

private static extern IntPtr SelectObjectCE(IntPtr hdc, IntPtr hgdiobj);

.

Declare Function SelectObject Lib "coredll.dll" (TODO) As TODO

.
Documentation
[SelectObject] on MSDN
.

    /// 13 COLOR_HIGHLIGHT Color of an item selected in a control.

.

    /// 14 COLOR_HIGHLIGHTTEXT Color of the text of an item selected in a control.

.
Summary
This function displays a floating pop-up menu at the specified location and tracks the selection of items on the pop-up menu. The floating pop-up menu can appear anywhere on the screen.
.

Use TrackPopupMenuEx with the TPM_RETURNCMD flag to return the ID of the selected Menu Item.

Interfaces

.

    /// completed strings. When the user selects

.

    /// <summary>Use the TAB key to select an

.

        ctrl.[Select]()

.

        If SelectNextControl(ActiveControl, If(ModifierKeys = Keys.Shift, False, True), True, True, False) Then

.

''' Specifies Style of the band object, its Name(displayed in explorer menu) and HelpText(displayed in status bar when menu command selected).

.

        ctrl.[Select]()

.

        If SelectNextControl(ActiveControl, If(ModifierKeys = Keys.Shift, False, True), True, True, False) Then

.

''' Specifies Style of the band object, its Name(displayed in explorer menu) and HelpText(displayed in status bar when menu command selected).

.

    void OnSelectionChange ( [In, MarshalAs ( UnmanagedType.Interface )] IFileDialog pfd );

.

    void OnItemSelected ( [In, MarshalAs ( UnmanagedType.Interface )] IFileDialogCustomize pfdc, [In] int dwIDCtl,

.

    void GetSelectedControlItem ( [In] int dwIDCtl, [Out] out int pdwIDItem );

.

    void SetSelectedControlItem ( [In] int dwIDCtl, [In] int dwIDItem ); // Not valid for OpenDropDown

.

    void OnSelectionChange ( [In, MarshalAs ( UnmanagedType.Interface )] IFileDialog pfd );

.

    void GetCurrentSelection ( [MarshalAs ( UnmanagedType.Interface )] out IShellItem ppsi );

.

    void GetSelectedItems ( [MarshalAs ( UnmanagedType.Interface )] out IShellItemArray ppsai );

.

    void GetCurrentSelection ( [MarshalAs ( UnmanagedType.Interface )] out IShellItem ppsi );

.

                    InfoPathControl.XmlForm.MainDataSource.CreateNavigator().SelectSingleNode(xPath, InfoPathControl.XmlForm.NamespaceManager);

.

            openDialog.Title = "Select instance .xml file.";

.

                    throw new InvalidFileException("Selected file " + openDialog.FileName + " was not an XML file");

.

                openDialog.Title = "Select form tempalte .xsn.";

.

                        throw new HostedException("Selected file " + openDialog.FileName + " was not an XSN file");

.

        /// Sets/Unsets the formatting of the selected text to bold

.

        ///    Sets/Unsets the formatting of the selected text to Italics

.

        ///    Sets/Unsets the formatting of the selected text to be Underlined

.

        ///    Sets/Unsets the formatting of the selected text to be strikethrough

.

        ///    Sets the formatting of the selected text to be superscipt

.

        ///    Sets/Unsets the formatting of the selected text to subscript

.

        ///    Increases the font size of the selected text by 2

.

        ///    Decreases the font size of the selected text by 2

.

        ///    Clears font formatting of the selected text

.

        ///    Sets the font formatting of the selected text to InfoPath's setting for heading 1

.

        ///Sets the font formatting of the selected text to InfoPath's setting for heading 2

.

        ///    Sets the font formatting of the selected text to InfoPath's setting for heading 3

.

        ///    Sets the font formatting of the selected text to InfoPath's setting for heading 4

.

        ///    Sets the font formatting of the selected text to InfoPath's setting for heading 5

.

        ///    Sets the font formatting of the selected text to InfoPath's setting for heading 6

.

        ///    Sets the font formatting of the selected text to InfoPath's setting for normal

.

        /// Sets/Gets the font of the currenty selected text

.

        /// <returns>The name of the font of the selected text</returns>

.

        public string SelectedTextFont

.

                        ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.GetSelectedTextFont),typeof(string)),CultureInfo.CurrentCulture

.

                    ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SetSelectedTextFont, value));

.

        /// Sets/Gets the font size of the currently selected text

.

        /// <returns>The name of the font size of the selected text</returns>

.

        public string SelectedTextFontSize

.

                    ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.GetSelectedTextFontSize), typeof(string)),CultureInfo.CurrentCulture

.

                    ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SetSelectedTextFontSize, value));

.

        /// Sets/Gets the font color of the selected text

.

                            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.GetSelectedTextFontColor), typeof(int)), CultureInfo.CurrentCulture

.

                ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SetSelectedTextFontColor, vaIn));

.

        /// Sets/Gets the highlight color of the selected text

.

                        ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.GetSelectedTextHighlightColor), typeof(int)),CultureInfo.CurrentCulture

.

                ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SetSelectedTextHighlightColor, vaIn));

.

        /// Aligns the selected paragraph to the left

.

        /// Aligns the selected paragraph to the center

.

        ///    Aligns the selected paragraph to the right

.

        ///    Justifies the selected paragraph

.

        ///    Increases indentation of the selected paragraph

.

        ///    Decreases indentation of the selected paragraph

.

        /// Gets the background color of the selected text

.

                        ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.GetSelectedTextBackgroundColor)),CultureInfo.CurrentCulture

.

                ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SetSelectedTextBackgroundColor, vaIn));

.

        ///    Cuts the selected text and copies it to the clipboard

.

        ///    Copies the selected text to the clipboard

.

        ///    Pastes the copied or cut text into the selected control

.

        #region Select All

.

        ///    Selects all of the text in a control

.

        public void SelectAll()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectAll));

.

        ///    Replaces the currently selected search string instance

.

        ///    <param name="ReplaceString">string to replace selected string</param>

.

        ///    Remove the bullets from the selected line(s)

.

        ///    Removes the numbered list from the selected line(s)

.

        ///    Inserts/Removes a numbered list for the current selection

.

        ///    Inserts/Removes a bulleted list for the current selection

.

        /// Deletes the selected table

.

        public void DeleteSelectedTable()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.DeleteSelectedTable));

.

        #region Select a Table

.

        /// Selects all of the current table

.

        public void SelectTable()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectTable));

.

        /// Deletes the selected columns

.

        public void DeleteSelectedColumns()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.DeleteSelectedColumns));

.

        /// Deletes the selected rows

.

        public void DeleteSelectedRows()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.DeleteSelectedRows));

.

        #region Select columns and rows

.

        /// Selects all of the current column

.

        public void SelectColumn()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectColumns));

.

        /// Selects the column before the column with the current focus

.

        public void SelectPreviousColumn()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectPreviousColumn));

.

        /// Selects the column after the column with the current focus

.

        public void SelectNextColumn()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectNextColumn));

.

        /// Selects all of the current row

.

        public void SelectRow()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectRows));

.

        /// Selects the row before the row with the current focus

.

        public void SelectPreviousRow()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectPreviousRow));

.

        /// Selects the row after the row with the current focus

.

        public void SelectNextRow()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectNextRow));

.

        /// Selects the entire current cell

.

        public void SelectCell()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectCell));

.

        /// Sets the alignment of the selected cell to be at the top

.

        public void SetSelectedCellAlignmentTop()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SetSelectedCellAlignmentTop));

.

        /// Sets the alignment of the selected cell to be in the middle

.

        public void SetSelectedCellAlignmentMiddle()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SetSelectedCellAlignmentMiddle));

.

        /// Sets the alignment of the selected cell to be at the bottom

.

        public void SetSelectedCellAlignmentBottom()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SetSelectedCellAlignmentBottom));

.

        /// Gets the vertical alignment of the selected cell

.

        public string SelectedCellVerticalAlignment

.

                    ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.GetSelectedCellVerticalAlignment),typeof(string)),CultureInfo.CurrentCulture

.

        /// Sets the padding of selected cells

.

        public void SetSelectedCellPadding(string padTop, string padRight, string padBottom, string padLeft)

.

                ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SetSelectedCellPadding, vaIn));

.

        /// Gets the top padding of the selected cell

.

        public string SelectedCellTopPadding

.

                    ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.GetSelectedCellTopPadding),typeof(string)),CultureInfo.CurrentCulture

.

        /// Gets the right padding of the selected cell

.

        public string SelectedCellRightPadding

.

                    ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.GetSelectedCellRightPadding),typeof(string)),CultureInfo.CurrentCulture

.

        /// Gets the bottom padding of the selected cell

.

        public string SelectedCellBottomPadding

.

                    ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.GetSelectedCellBottomPadding),typeof(string)),CultureInfo.CurrentCulture

.

        /// Gets the left padding of the selected cell

.

        public string SelectedCellLeftPadding

.

                    ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.GetSelectedCellLeftPadding),typeof(string)),CultureInfo.CurrentCulture

.

        /// Sets/Gets the height of the selected row

.

        /// <returns>The height of the selected row with units</returns>

.

                    ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.GetSelectedRowHeight),typeof(string)),CultureInfo.CurrentCulture

.

                ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SetSelectedRowHeight, value));

.

        /// Sets/Gets the width of the selected column

.

        /// <returns>The width of the selected column with units</returns>

.

                    ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.GetSelectedColumnWidth),typeof(string)),CultureInfo.CurrentCulture

.

                ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SetSelectedColumnWidth, value));

.

        /// Checks if there is a row below the currently selected row

.

                return IsCommandOn(FormControlCommandIds.CommandIds.SelectNextRow);

.

        /// Checks if there is a row above the currently selected row

.

                return IsCommandOn(FormControlCommandIds.CommandIds.SelectPreviousRow);

.

        /// Selects the next row in the table

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectNextRow));

.

        /// Selects the previous row in the table

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectPreviousRow));

.

        /// Checks if there is a column right of the currently selected column

.

                return IsCommandOn(FormControlCommandIds.CommandIds.SelectNextColumn);

.

        /// Checks if there is a column left of the currently selected column

.

                return IsCommandOn(FormControlCommandIds.CommandIds.SelectPreviousColumn);

.

        /// Selects the next column in the table

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectNextColumn));

.

        /// Selects the previous column in the table

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectPreviousColumn));

.

        /// Finds and selects the next misspelled word

.

        /// Gets the selected misspelled word

.

        /// <returns>The currently selected misspelled word</returns>

.

        /// Ignores the selected misspelling

.

        /// Deletes the selected misspelled word

.

        /// Sets/Gets the height of the selected picture

.

        /// <returns>Height of the selected picture</returns>

.

        /// Sets/Gets the width of the selected picture

.

        /// <returns>Width of the selected picture</returns>

.

        /// Sets/Gets the alternative text of the selected picture

.

        /// Checks if a hyperlink is currently selected

.

        public bool IsHyperlinkSelected

.

                return IsCommandOn(FormControlCommandIds.CommandIds.SelectHyperlink);

.

        /// Selects all of the current hyperlink

.

        public void SelectHyperlink()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.SelectHyperlink));

.

        /// Selects the first error on the current view

.

        ///    Selects the next error on the current view

.

        /// Shows the message associated with the selected error

.

        /// <summary>Do not allow more than a single item to be selected. This is used in the common dialog boxes.</summary>

.

        SingleSelection = 0x00000040,

.

        /// <summary>Always show the selection.</summary>

.

        ShowSelectionAlways = 0x00002000,

.

        CheckSelect = 0x00040000,

.

        /// <summary>Windows Vista and later: When an item is selected, the item and all its sub-items are highlighted.</summary>

.

        FullRowSelect = 0x00200000,

.

        TriCheckSelect = 0x04000000,

.

        /// <summary>Windows Vista and later: Items can be selected using checkboxes.</summary>

.

        AutoCheckSelect = 0x08000000,

.

        /// <summary>Object names and other selected information, such as the size or date last updated, are shown.</summary>

.
Summary
IUISimplePropertySet is a read-only interface that can be implemented by the Windows Ribbon framework and a Ribbon host application, depending on the situation. When implemented by the Ribbon framework, IUISimplePropertySet defines the method for retrieving property key values. In a host application, IUISimplePropertySet is implemented for each item in an item gallery IUICollection object and defines the method for retrieving properties of the selected item.
.

    object SelectDeviceDlg(

.

    string SelectDeviceDlgID(

Enums

.

   // Add a search item to the list of completed strings. Selecting this item launches a search engine.

.

   // Use the TAB key to select an item from the drop-down list.

.

    /// If the user selects folders that are not part of the file system,

.

    /// If the user selects an ancestor of the root folder that is not part of the file system, the OK button is grayed

.

    /// When the selected item is a shortcut, return the PIDL of the shortcut itself rather than its target.

.

    /// Only return computers. If the user selects anything other than a computer, the OK button is grayed.

.

    /// Only allow the selection of printers. If the user selects anything other than a printer, the OK button is grayed

.

    ''' If the user selects an ancestor of the root folder that is not part of the file system, the OK button is grayed

.

    ''' When the selected item is a shortcut, return the PIDL of the shortcut itself rather than its target.

.

    ''' Only return computers. If the user selects anything other than a computer, the OK button is grayed.

.

    ''' Only allow the selection of printers. If the user selects anything other than a printer, the OK button is grayed

.

    internal static PropertyKey UI_PKEY_SelectedItem = new PropertyKey(new Guid(Convert.ToString(104, 16).PadLeft(8, '0') + UI_PropertyKey), (int)VarEnum.VT_UI4);

46: DLGC
.

    /// <summary> Windows will send an EM_SETSEL message to the control to select its contents. </summary>

47: DM
.

/// Selects duplex or double-sided printing for printers capable of duplex printing.

48: DMDUP
.

/// Selects duplex or double-sided printing for printers capable of duplex printing.

.

        Select Case d.DriveType

.

        End Select

.

    SHGFI_SELECTED = 0x000010000,     // show icon in selected state

51: FOS
.

    FOS_ALLOWMULTISELECT = 0x00000200,

.

    ALLOWMULTISELECT = &H200

.

     /// Selects the previous locale identifier in the circular list of loaded locale identifiers maintained by the system

.

     /// Selects the next locale identifier in the circular list of loaded locale identifiers maintained by the system

.

    ///There is no driver selected for the device information set or element.

.

    [Description("There is no driver selected for the device information set or element.")]

.

    public const int SPAPI_E_NO_DRIVER_SELECTED = unchecked((int)0x800F0203);

.

    ///There is no device information element currently selected for this device information set.

.

    [Description("There is no device information element currently selected for this device information set.")]

.

    public const int SPAPI_E_NO_DEVICE_SELECTED = unchecked((int)0x800F0211);

.

    ///The machine selected for remote communication is not available at this time.

.

    [Description("The machine selected for remote communication is not available at this time.")]

.

    ///The driver selected for this device does not support Windows XP.

.

    [Description("The driver selected for this device does not support Windows XP.")]

.

    ///The driver selected for this device does not support Windows.

.

    [Description("The driver selected for this device does not support Windows.")]

.

    '''There is no driver selected for the device information set or element.

.

    <Description("There is no driver selected for the device information set or element.")> _

.

    Public Const SPAPI_E_NO_DRIVER_SELECTED As Integer = CInt(&H800f0203UI)

.

    '''There is no device information element currently selected for this device information set.

.

    <Description("There is no device information element currently selected for this device information set.")> _

.

    Public Const SPAPI_E_NO_DEVICE_SELECTED As Integer = CInt(&H800f0211UI)

.

    '''The machine selected for remote communication is not available at this time.

.

    <Description("The machine selected for remote communication is not available at this time.")> _

.

    '''The driver selected for this device does not support Windows XP.

.

    <Description("The driver selected for this device does not support Windows XP.")> _

.

    '''The driver selected for this device does not support Windows.

.

    <Description("The driver selected for this device does not support Windows.")> _

54: LB_
.

    /* Multi-Select Only */

.

    ///   Selects an item in a multiple-selection list box and, if necessary, scrolls the item into view

.

    ///   wParam  Specifies how to set the selection. If this parameter is TRUE, the item is selected and highlighted; if it is FALSE, the highlight is removed and the item is no longer selected.

.

    ///   lParam Specifies the zero-based index of the item to set. If this parameter is –1, the selection is added to or removed from all items, depending on the value of wParam, and no scrolling occurs.

.

    ///   Remarks-Use this message only with multiple-selection list boxes.

.

    ///  Fills a buffer with an array of integers that specify the item numbers of selected items in a multiple-selection list box

.

    ///  wParam- The maximum number of selected items whose item numbers are to be placed in the buffer.

.

    ///  Return-The return value is the number of items placed in the buffer. If the list box is a single-selection list box, the return value is LB_ERR.

.

    ///   Gets the total number of selected items in a multiple-selection list box

.

    ///   Return Value-The return value is the count of selected items in the list box. If the list box is a single-selection list box, the return value is LB_ERR.

.

    /* Single Select Only */

.

    ///   Gets the index of the currently selected item, if any, in a single-selection list box

.

    ///   Return Value-In a single-selection list box, the return value is the zero-based index of the currently selected item. If there is no selection, the return value is LB_ERR.

.

    ///   Return Value If the search is successful, the return value is the index of the selected item. If the search is unsuccessful,LB_ERR

.

    ///   Use this message only with single-selection list boxes. You cannot use it to set or remove a selection in a multiple-selection list box

.

    LB_SELECTSTRING = 0x018C,

.

    ///  Selects a string and scrolls it into view, if necessary. When the new string is selected, the list box removes the highlight from the previously selected string.

.

    ///  wParam Specifies the zero-based index of the string that is selected. If this parameter is -1, the list box is set to have no selection.

.

    ///  Gets the selection state of an item

.

    ///  Return Value-If an item is selected, the return value is greater than zero; otherwise, it is zero. If an error occurs, the return value is LB_ERR.

.

    '* Multi-Select Only */

.

    '   Selects an item in a multiple-selection list box and, if necessary, scrolls the item into view

.

    '   wParam  Specifies how to set the selection. If this parameter is TRUE, the item is selected and highlighted; if it is FALSE, the highlight is removed and the item is no longer selected.

.

    '   lParam Specifies the zero-based index of the item to set. If this parameter is –1, the selection is added to or removed from all items, depending on the value of wParam, and no scrolling occurs.

.

    '   Remarks-Use this message only with multiple-selection list boxes.    

.

    '  Fills a buffer with an array of integers that specify the item numbers of selected items in a multiple-selection list box

.

    '  wParam- The maximum number of selected items whose item numbers are to be placed in the buffer.

.

    '  Return-The return value is the number of items placed in the buffer. If the list box is a single-selection list box, the return value is LB_ERR.    

.

    '   Gets the total number of selected items in a multiple-selection list box

.

    '   Return Value-The return value is the count of selected items in the list box. If the list box is a single-selection list box, the return value is LB_ERR.    

.

    '* Single Select Only */

.

    '   Gets the index of the currently selected item, if any, in a single-selection list box

.

    '   Return Value-In a single-selection list box, the return value is the zero-based index of the currently selected item. If there is no selection, the return value is LB_ERR.    

.

    '   Return Value If the search is successful, the return value is the index of the selected item. If the search is unsuccessful,LB_ERR

.

    '   Use this message only with single-selection list boxes. You cannot use it to set or remove a selection in a multiple-selection list box    

.

    LB_SELECTSTRING = &H18C

.

    '  Selects a string and scrolls it into view, if necessary. When the new string is selected, the list box removes the highlight from the previously selected string.

.

    '  wParam Specifies the zero-based index of the string that is selected. If this parameter is -1, the list box is set to have no selection.

.

    '  Gets the selection state of an item

.

    '  Return Value-If an item is selected, the return value is greater than zero; otherwise, it is zero. If an error occurs, the return value is LB_ERR.    

.

            GETSELECTEDCOUNT         = (FIRST + 50),

.

            GETSELECTIONMARK         = (FIRST + 66),

.

            SETSELECTIONMARK         = (FIRST + 67),

.

            SETSELECTEDCOLUMN        = (FIRST + 140),

.

            GETSELECTEDCOLUMN        = (FIRST + 174),

.

    OLECMDID_SELECTALL             = 17,

.

    OLECMDID_CLEARSELECTION            = 18,

.

    OLECMDID_CLEARSELECTION = 18

.

    OLECMDID_SELECTALL = 17

.

    OFN_ALLOWMULTISELECT = 0x200

.

    OFN_ALLOWMULTISELECT = &H200

.

    OFN_ALLOWMULTISELECT As Long = &H200

.

        /// <summary>767. Internet Connection Sharing cannot be enabled. The LAN connection selected as the private network has more than one IP address configured. Please reconfigure the LAN connection with a single IP address before enabling Internet Connection Sharing.  </summary>

.

        /// <summary>783. Internet Connection Sharing cannot be enabled. The LAN connection selected as the private network is either not present, or is disconnected from the network. Please ensure that the LAN adapter is connected before enabling Internet Connection Sharing.  </summary>

59: SBSP
.

    SBSP_NOAUTOSELECT = 0x04000000,

60: SHGFI
.

    SHGFI_SELECTED      = 0x000010000,    

.

    SHGFI_SELECTED = &H10000

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: