IPXV_Inst::ShowSelectFolderDlg Method

From Tracker Software PDF SDK
Revision as of 03:57, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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