Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Das Windows-Textfeld bei Start → Ausführen (https://www.delphipraxis.net/174634-das-windows-textfeld-bei-start-ausfuehren.html)

Der schöne Günther 2. Mai 2013 12:15

Das Windows-Textfeld bei Start → Ausführen
 
Liste der Anhänge anzeigen (Anzahl: 1)
Dass dieses Feld mir so schön die Verzeichnisinhalte ergänzt - Ist das eine normale Windows-Komponente mit VCL-Entsprechung oder muss man sich so etwas selber basteln? Ich habe in Delphi nie irgendetwas vorgefertigtes gefunden...

Bernhard Geyer 2. Mai 2013 12:30

AW: Das Windows-Textfeld bei Start → Ausführen
 
AFAIK ist das eine Com-Komponente die irgendwann mal mit einer neuen IE-Version in Windows eingezogen ist.

DeddyH 2. Mai 2013 12:35

AW: Das Windows-Textfeld bei Start → Ausführen
 
Evtl. kann man es ähnlich hinbekommen, wenn man mit AutoComplete etc. von TComboBox herumspielt.

hathor 2. Mai 2013 13:04

AW: Das Windows-Textfeld bei Start → Ausführen
 
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

Dalai 2. Mai 2013 13:45

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

Zitat von hathor (Beitrag 1213820)
SHAutoComplete ist sehr schnell:

Jep, diese Variante benutze ich ebenfalls.

MfG Dalai


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:54 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz