Einzelnen Beitrag anzeigen

hathor
(Gast)

n/a Beiträge
 
#4

AW: Das Windows-Textfeld bei Start → Ausführen

  Alt 2. Mai 2013, 13:04
SHAutoComplete ist sehr schnell:

Delphi-Quellcode:
[DllImport("shlwapi.dll")]
static extern int SHAutoComplete(IntPtr Handle, uint Flags);

enum AutoCompleteFlags : uint
{
  Default            = 0x00000000,
  FileSystem        = 0x00000001,
  UrlHistory        = 0x00000002,
  UrlMenu            = 0x00000004,
  UseTab            = 0x00000008,
  FileSystemOnly    = 0x00000010,
  UrlAll            = UrlHistory|UrlMenu,
  FileSystemDirs    = 0x00000020,
  AutoSuggestForceOn = 0x10000000,
  AutoSuggestForceOff = 0x20000000,
  AutoAppendForceOn  = 0x40000000,
  AutoAppendForceOff = 0x80000000
}

SHAutoComplete(textBox1.Handle, (uint)AutoCompleteFlags.UrlHistory);
.
.
oder:
AutoComplete für TMemo, TRichEdit uvm.

http://www.delphipraxis.net/125828-a...tml#post857278
---
Das sind 2 verschiedene Links:
Using Input Panel AutoComplete
IAutoComplete interface

http://msdn.microsoft.com/de-de/libr...=vs.85%29.aspx
.
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx

Geändert von hathor ( 2. Mai 2013 um 13:33 Uhr)
  Mit Zitat antworten Zitat