Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

Handle property

Project: Shell Folders Unit.

Unit: PJShellFolders.

Class: TPJBrowseDialog

Applies to: >=2.0.0 & <= 2.3.0

property Handle: THandle;

Applies to: ~>2.3.1, ~>2.4

property Handle: HWND;


This property provides access to the Browse for Folder dialog box’s window handle while the Execute method is active. At other times Handle is set to 0. Handle therefore only references a valid window handle when the dialog box is displayed.

Handle is intended for use in the OnInitialise, OnSelChange, OnSelChangeEx, OnValidationFailed [~>2.3] and OnClose events whenever it is necessary to customise the window’s behaviour.