Desktop Functions: Smart Device Functions:
|
Search Results for "select" in [All]Interfaces
/// completed strings. When the user selects
/// <summary>Use the TAB key to select an 2: IDeskBand
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). 3: IDeskBand2
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). 4: IFileDialog
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 11: IShellView
/// <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> 13: IWiaDevMgr
object SelectDeviceDlg(
string SelectDeviceDlgID( Structures14: BROWSEINFO 15: ILD_FLAGS
ILD_SELECTED = 0x00000004, 16: KEYBDINPUT
///SELECT key
SELECT = 0x29,
///Windows 2000/XP: Select Media key
LAUNCH_MEDIA_SELECT = 0xB5,
SELECT = 0,
LAUNCH_MEDIA_SELECT = 109, 17: MAPI
/// Client applications can select message types for their non-IPM messages.
''' Client applications can select message types for their non-IPM messages.
SINGLESELECT =(MIXERCONTROL_CT_CLASS_LIST | MIXERCONTROL_CT_SC_LIST_SINGLE | MIXERCONTROL_CT_UNITS_BOOLEAN),
MUX =(SINGLESELECT + 1),
MULTIPLESELECT =(MIXERCONTROL_CT_CLASS_LIST | MIXERCONTROL_CT_SC_LIST_MULTIPLE | MIXERCONTROL_CT_UNITS_BOOLEAN),
MIXER =(MULTIPLESELECT + 1), 19: OpenFileName
''' and the second string is the filter pattern selected by the user.
''' When the user selects a file, the dialog box copies the current filter pattern
''' The index of the currently selected filter in the File Types control.
''' When the user selects a file, nFilterIndex returns the index of the currently displayed
''' selected file.
''' The file name and extension (without path information) of the selected file. This member can be NULL.
''' The initial directory. The algorithm for selecting the initial directory varies on different platforms.
''' If the user selects more than one file, nFileOffset is the offset to the first file name.
public uint otmfsSelection;
Public otmfsSelection As UInt32 21: PRINTER_INFO_5
public uint DeviceNotSelectedTimeout; 22: TVITEM
public int iSelectedImage; 23: TV_ITEM
public int iSelectedImage; winspool
/* mode selections for the device mode function */ Turns out that there are some clever and powerful tools in Visual Studio 2005 and 2008 for working with the Management Classes (although couldn’t find it in the “Standard Edition” installed on this machine, definitely exists in my laptop’s Visual Studio). You can use Server Explorer to navigate a treeview to your management class (in this example, the Printers node), right-click on it and select “Generate Managed Class”. This will automagically create a strongly-typed C#.Net class representing the object model of the WMI Printers Class, with all its properties and methods. imm32
public int dwSelection; comctl3227: TaskDialog To Run the VistaBridge Project in Visual Studio 2008, you must re-create the Application Manifest file. To do this, open the manifest already in the project, copy all of the text from it to notepad and then delete the manifest file from the project. Next, right click on the "VistaBridgeDemoApp" project and select Add New Item. Choose an Application Manifest File and MAKE SURE you name it as follows: VistaBridgeDemoApp.exe.manifest and then press enter. Now double click on the new manifest file, select all the text and replace it with the text that was copied out of the old manifest. You can now Build the solution and the Demo App should now operate properly. If you still have problems, try closing Visual Studio and then Re-opening it. To Run the VistaBridge Project in Visual Studio 2008, you must re-create the Application Manifest file. To do this, open the manifest already in the project, copy all of the text from it to notepad and then delete the manifest file from the project. Next, right click on the "VistaBridgeDemoApp" project and select Add New Item. Choose an Application Manifest File and MAKE SURE you name it as follows: VistaBridgeDemoApp.exe.manifest and then press enter. Now double click on the new manifest file, select all the text and replace it with the text that was copied out of the old manifest. You can now Build the solution and the Demo App should now operate properly. If you still have problems, try closing Visual Studio and then Re-opening it. gdi3229: AlphaBlend
static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj);
IntPtr pOrig = SelectObject(pSource, bmp.GetHbitmap(Color.Black));
IntPtr pNew = SelectObject(pSource, pOrig); 30: BitBlt Use SelectObject to select a source image into the source DC before trying to BitBlt it.
static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj);
IntPtr pOrig = SelectObject(pSource, bmp.GetHbitmap()); 31: CreatePen
IntPtr pOrig = SelectObject(pDC, hbitmap);
// select the pen into the device context
IntPtr oldpen = SelectObject(pDC, pen);
// select the old pen back
DeleteObject(SelectObject(pDC, oldpen));
SelectObject(pDC, pOrig); 32: DeleteObject
/// <para>If the specified handle is not valid or is currently selected into a DC, the return value is zero.</para>
/// <para>Do not delete a drawing object (pen or brush) while it is still selected into a DC.</para> 33: EnumFontFamilies
List<string> mono = (from f in allFonts where ((f.LogFont.elfLogFont.lfPitchAndFamily & 0x3) == (int)GdiFonts.FontPitch.FIXED_PITCH) & (GdiFonts.FontLanguageCharSet)f.LogFont.elfLogFont.lfCharSet == GdiFonts.FontLanguageCharSet.ANSI_CHARSET select f.LogFont.elfFullName).ToList<string>();
List<string> variable = (from f in allFonts where ((f.LogFont.elfLogFont.lfPitchAndFamily & 0x3) == (int)GdiFonts.FontPitch.VARIABLE_PITCH) & (GdiFonts.FontLanguageCharSet)f.LogFont.elfLogFont.lfCharSet == GdiFonts.FontLanguageCharSet.ANSI_CHARSET select f.LogFont.elfFullName).ToList<string>();
List<string> mono = (from f in allFonts where ((f.LogFont.elfLogFont.lfPitchAndFamily & 0x3) == (int)GdiFonts.FontPitch.FIXED_PITCH) & (GdiFonts.FontLanguageCharSet)f.LogFont.elfLogFont.lfCharSet == GdiFonts.FontLanguageCharSet.ANSI_CHARSET select f.LogFont.elfFullName).ToList<string>();
List<string> variable = (from f in allFonts where ((f.LogFont.elfLogFont.lfPitchAndFamily & 0x3) == (int)GdiFonts.FontPitch.VARIABLE_PITCH) & (GdiFonts.FontLanguageCharSet)f.LogFont.elfLogFont.lfCharSet == GdiFonts.FontLanguageCharSet.ANSI_CHARSET select f.LogFont.elfFullName).ToList<string>(); 35: ExtFloodFill
public static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj);
IntPtr vPreviouseBrush = SelectObject(vDC, vBrush);
SelectObject(vDC, vPreviouseBrush);
/// The ABC spaces are measured along the character base line of the selected font.
/// The ABC widths of the default character are used for characters outside the range of the currently selected
IntPtr hObjOld = SelectObject(hDC, hFont);
SelectObject(hDC, hObjOld);
IntPtr OldFont = SelectObject(this.DC, this.Font);
SelectObject(this.DC, OldFont); 38: GetFontData As a prerequisite a font handle has to be loaded into the device context using the SelectObject method in gdi32.dll.
/// Selects the graphics object (here a font handle) into the device context.
/// <param name="hgdiobj">A handle to the object to be selected.
/// <returns>If the selected object is not a region and the function succeeds, the return value is a handle to the object being replaced.
/// If an error occurs and the selected object is not a region, the return value is NULL. Otherwise, it is HGDI_ERROR.</returns>
private static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj);
/// Use <see cref="SelectObject"/> for loading the font into a device context.</param>
// Read selector (always = 0) to advance reader position by 2 bytes
ushort selector = ToLittleEndian(br.ReadUInt16());
SelectObject(hdc, fontHandle);
public extern static IntPtr SelectObject(IntPtr hDC, IntPtr hObject);
IntPtr old = SelectObject(hdc, hFont);
SelectObject(hdc, old); 40: GetGlyphOutline
IntPtr prev = SelectObject(hdc, font.ToHfont());
IntPtr oldfnt = GDI.SelectObject(hdc, font.ToHfont());
GDI.DeleteObject(GDI.SelectObject(hdc, oldfnt));
IntPtr oldfnt = GDI.SelectObject(hdc, font.ToHfont());
GDI.DeleteObject(GDI.SelectObject(hdc, oldfnt)); 43: GetTextMetrics
//CharSet.auto automatically selects between these functions based on the OS version:
IntPtr hFontPreviouse = SelectObject(hDC, hFont);
SelectObject(hDC, hFontPreviouse);
static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj);
IntPtr hFontPrevious = Win32::SelectObject(hDC, hFont);
Win32::SelectObject(hDC, hFontPrevious); 44: LineTo
IntPtr pOrig = SelectObject(pDC, hbitmap);
// select the pen into the device context
IntPtr oldpen = SelectObject(pDC, pen);
// select the old pen back
DeleteObject(SelectObject(pDC, oldpen));
SelectObject(pDC, pOrig); 45: MoveToEx
IntPtr pOrig = SelectObject(pDC, hbitmap);
// select the pen into the device context
IntPtr oldpen = SelectObject(pDC, pen);
// select the old pen back
DeleteObject(SelectObject(pDC, oldpen));
SelectObject(pDC, pOrig); 46: RoundRect
public static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj);
IntPtr oldPen = GDI32.SelectObject(hDC, thePen);
IntPtr oldBrush = GDI32.SelectObject(hDC, theBrush);
GDI32.SelectObject(hDC, oldPen);
GDI32.SelectObject(hDC, oldBrush); 47: SelectClipRgn
static extern int SelectClipRgn(IntPtr hdc, IntPtr hrgn);
SelectClipRgn(hdc, hRegion); // region will be copied
SelectClipRgn(hdc, IntPtr.Zero); // reset clip region 48: SelectObject
/// <summary>Selects an object into the specified device context (DC). The new object replaces the previous object of the same type.</summary>
/// <param name="hgdiobj">A handle to the object to be selected.</param>
/// <para>If the selected object is not a region and the function succeeds, the return value is a handle to the object being replaced. If the selected object is a region and the function succeeds, the return value is one of the following values.</para>
/// <para>If an error occurs and the selected object is not a region, the return value is <c>NULL</c>. Otherwise, it is <c>HGDI_ERROR</c>.</para>
/// <para>This function returns the previously selected object of the specified type. An application should always replace a new object with the original, default object after it has finished drawing with the new object.</para>
/// <para>An application cannot select a single bitmap into more than one DC at a time.</para>
/// <para>ICM: If the object being selected is a brush or a pen, color management is performed.</para>
[DllImport("gdi32.dll", EntryPoint = "SelectObject")]
public static extern IntPtr SelectObject([In] IntPtr hdc, [In] IntPtr hgdiobj);
Public Shared Function SelectObject(ByVal hdc As IntPtr, ByVal hObject As IntPtr) As IntPtr
Public Declare Function SelectObject Lib "gdi32.dll" _ 49: SelectPalette 50: SetMapMode
public static extern int SelectObject(IntPtr hDC, int hGdiObject); // Create a red pen and select it into the device context. int hOldPen = SelectObject(hDC, hPen); // Create a null brush and select it into the device context. int hOldBrush = SelectObject(hDC, hBrush); SelectObject(hDC, hOldPen); SelectObject(hDC, hOldBrush); 51: StretchBlt
IntPtr pOrig = SelectObject(pSource, hbmp);
IntPtr pNew = SelectObject(pSource, pOrig);
static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj); 52: TextOut [CharSet = CharSet.Auto] According to my experience this parameter should be used when using a LOGFONT structure and the CreateFontIndirect fuction, otherwise the selected font will not be displayed. All flags will be done (lfItalic, lfUnderline ...) but not the lfFaceName string.
public static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj);
//a color that you set through SelectObject the .net garbage collector will
//We have to use SelectObject to set the font, color and other properties.
IntPtr last_font = SelectObject(HDC, Font.ToHfont());
DeleteObject(SelectObject(HDC, last_font));
Private Shared Function SelectObject(ByVal hdc As IntPtr, ByVal hgdiobj As IntPtr) As IntPtr
FontPtr = SelectObject(Hdc, myFont.ToHfont()) Constants53: CB_
CB_SELECTSTRING = 0x014D,
public const int CB_SELECTSTRING = 0x014D;
CB_SELECTSTRING = &H14D
Public Const CB_SELECTSTRING As Integer = &H14D 54: EMR_
EMR_SELECTOBJECT = 37,
EMR_SELECTPALETTE = 48,
EMR_SELECTCLIPPATH = 67,
EMR_EXTSELECTCLIPRGN = 75, 55: MAPI
/// to select between two different dialog boxes for logon. 56: PROPERTYKEY
public static PropertyKey SENSOR_DATA_TYPE_GPS_SELECTION_MODE = new PropertyKey(0X055C74D8, 0XCA6F, 0X47D6, 0X95, 0XC6, 0X1E, 0XD3, 0X63, 0X7A, 0X0F, 0XF4, 31); //[VT_I4] 57: ShellAPI
public const int NIN_SELECT = (WM_USER + 0);
public const int NIN_KEYSELECT = (NIN_SELECT | NINF_KEY);
public const int SHGFI_SELECTED = 0x000010000; // show icon in selected state 58: ShellAPI
public const int NIN_SELECT = (WM_USER + 0);
public const int NIN_KEYSELECT = (NIN_SELECT | NINF_KEY);
public const int SHGFI_SELECTED = 0x000010000; // show icon in selected state 59: TCM_ public const UInt32 TCM_DESELECTALL = (TCM_FIRST + 50);
// (void)SNDMSG((hwnd), TCM_DESELECTALL, fExcludeFocus, 0)
Private Const TCM_DESELECTALL As UInt32 = (TCM_FIRST + 50)
' (void)SNDMSG((hwnd), TCM_DESELECTALL, fExcludeFocus, 0) 60: WA_
'''the SetActiveWindow function or by use of the keyboard interface to select the window).
'''the SetActiveWindow function or by use of the keyboard interface to select the window). Cut off search results after 60. Please refine your search. |