(Gast)
n/a Beiträge
|
Re: FileOpendialog
27. Jun 2007, 22:52
Hier der Code für die Detailansicht:
Delphi-Quellcode:
procedure TForm1.OpenDialog1FolderChange(Sender: TObject);
var
H, H2: THandle;
begin
H := FindWindowEx(GetParent(OpenDialog1.Handle), 0, PChar('SHELLDLL_DefView'), nil);
H2 := FindWindowEx(H, 0, PChar('SysListView32'), nil);
if (H <> 0) and (H2 <> 0) then
begin
SendMessage(H, WM_COMMAND, $702C, 0);
Windows.SetFocus(H2);
end;
end;
|
|
Zitat
|