Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 141
  • Last Modified:

File Object's Properties dialog

Does anyone know how I can display the properties dialog for an Explorer object?  E.g. simulate right-clicking on a file, folder, etc. and selecting "Properties".

An example would be appreciated, as I suspect it's not as simple as calling "ShowPropertiesDialog('C:\Autoexec.bat');"!!  ;-)  Do I have to use CreatePropertySheetPage, etc. etc.?

Thanks,
JB
0
JimBob091197
Asked:
JimBob091197
  • 2
1 Solution
 
ronit051397Commented:
Download the example from
http://www.aye.net/~bstowers/delphi/examples/itemprop.html 
I checked it briefly and it's working.
0
 
ronit051397Commented:
I checked it only on NT.
0
 
JimBob091197Author Commented:
Hi Ronit

Thanks for the quick reply.  I checked it on Win 98, and from looking at the code I'm sure it will work on Win 95 too.

The sample was a big help, and helped me with 2 of my other questions as well - you might have seen them because I posted them at the same time as this question.  You can answer them too.  They are entitled "IContextMenu's Send To Menu" and "IContextMenu with multiple items".

Thanks again,
Dave

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now