Is this what you mean?

uses
  ShellAPI;

var
  SEI: TShellExecuteInfo;
begin
  FillChar(SEI, SizeOf(SEI), 0);
  SEI.cbSize := SizeOf(SEI);
  SEI.lpFile := 'Project1.exe'; // Replace as required
  SEI.lpVerb := 'Properties';
  SEI.fMask := SEE_MASK_INVOKEIDLIST;
  ShellExecuteEx(@SEI);
end;


-Andreas

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Kevin Parker
Sent: Thursday, 3 October 2002 18:43
To: Multiple recipients of list delphi
Subject: [DUG]: File properties


Hi All

When you right click on a file on the Windows Desktop one of the options is
to select "Properties".  How can I invoke the same Properties Window from
inside my app?

Thanks
Kevin

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to