IPXV_Control::OpenDocWithDlg Method

From Tracker Software PDF SDK
Revision as of 03:50, 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 Open Files dialog box that lets the user specify the name of a file to be opened.


HRESULT OpenDocWithDlg([in, defaultvalue("")]  BSTR          sInitialPath,
                       [in, defaultvalue(0)]   VARIANT_BOOL  bOnlyPDF,
                       [in, defaultvalue(0)]   VARIANT_BOOL  bNoErrorUI);


[in, defaultvalue("")] The initial folder path. If empty string is specified then current folder will be used.
[in, defaultvalue(0)] The flag that restricts the user's choice to PDF files only.
[in, defaultvalue(0)] The flag that prevents the showing of open-error message.

Return Value

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

See Also