Autor Beitrag
Frankieboy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 65



BeitragVerfasst: Mi 04.11.09 15:41 
Hallo,

wenn man im Explorer (und manchen Programmen) Dateien löscht, kommt dieser windowseigene Löschdialog mit Animation und ProgressBar.
Kann man den irgendwie kapseln oder aufrufen (statt des schlichten DeleteFile von Delphi ohne Grafik).

Danke,

MP5k
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Mi 04.11.09 15:58 
Ja, das geht mit ShFileOperation: www.delphipraxis.net...ight=shfileoperation
Und noch eine Vereinfachung: www.delphipraxis.net...ight=shfileoperation
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mi 04.11.09 16:00 
voilá, mit diesem Befehl sollte es gehen: SHFileOperation

lg elundril

//Edit: zu langsam...

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.