JCL Help:OpenSpecialFolder

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Opens a special folder in Explorer.


Pascal

 function OpenSpecialFolder(FolderID: Integer; Parent: THandle = 0; Explore: Boolean = False): Boolean;


Parameters

Parameters Description
FolderID: Integer Special folder ID to open. One of the CSIDL_XXX constants must be specified here (see ShlObj.pas for the full list).
Parent: THandle = 0 Handle of the window to serve as the parent of any dialogs displayed.


Return Value

If the function succeeds the result is True, otherwise it is False.


Description

The OpenSpecialFolder function opens Explorer with the specified Folder as the root of the namespace (root of the lefthand treeview).


See Also

OpenFolder GetSpecialFolderLocation


About

Unit

JclShell


Donator

Petr Vones


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