IPXV_Inst::ShowSelectFolderDlg Method

From PDF XChange PDF SDK
Jump to: navigation, search


Shows an Select Folder dialog box that lets the user specify the name of a file(s) to be opened.

Syntax

HRESULT ShowSelectFolderDlg([in, defaultvalue("")]  BSTR          pInitialFolderName,
                            [in, defaultvalue("")]  BSTR          pDlgTitle,
                            [in, defaultvalue(0)]   HANDLE_T      hWndParent,
                            [in, defaultvalue(-1)]  VARIANT_BOOL  bCanAddNew,
                            [out, retval]           IAFS_Name**   pRes);

Parameters

pInitialFolderName
[in, defaultvalue("")] The initial folder path. If empty string is specified then current folder will be used.
pDlgTitle
[in, defaultvalue("")] The title of dialog.
hWndParent
[in, defaultvalue(0)] The optional parameter that specifies the handle of parent window.
bCanAddNew
[in, defaultvalue(-1)] The flags to include the New Folder button in the dialog box.
pRes
[out, retval] Returns pointer to IAFS_Name object.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXV_Inst