Page tree
Skip to end of metadata
Go to start of metadata

Display the file browser dialog and wait for the user to select an item or cancel the dialog.

Syntax

Parameters

hBrowser
The FileBrowserHandle of the dialog to display
strStart
Type: LPCWSTR
The start path of the browsing
flags
Type: UINT

Flags that control the dialog display. Can be 0 in which case all files and directories are shown.

FlagDescription
REMOTE_FILE_ENUMERATE_DIRECTORIES_ONLYOnly directories are shown, files are not

Return Value

Type: bool
If an item was selected in the dialog then the return value is true. If the dialog was cancelled then the return value is false.

Remarks

Retrieve the selected file with FileBrowserGetFile

Examples

None

See Also

FileBrowserCreate

FileBrowserGetFile