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;

Description

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.