JCL Help:DisplayPropDialog@THandle@PItemIdList

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Displays the properties sheet of a shell item.


Pascal

 function DisplayPropDialog(const Handle: THandle; const FileName: string): Boolean; overload;
function DisplayPropDialog(const Handle: THandle; Item: PItemIdList): Boolean; overload;


Parameters

Parameters Description
const Handle: THandle Handle of the window to use as the parent for all windows displayed by this function.
const FileName: string Fully qualified name of the file whose properties dialog you want to display.
Item: PItemIdList Pidl of the item whose properties dialog you want to display.


Return Value

If the function succeeds it returns True, otherwise it returns False. You can call GetLastError to get more detailed information about the reason of failure.


Description

Displays the properties sheet of the item specified by FileName or Item. The window defined by handle is used as the parent of this dialog. To make the desktop the parent of the dialog use the return value of GetDesktopWindow.


About

Unit

JclShell


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page