Parameters |
Description |
int flags |
[in] Dialog behavior. |
const OdString& dialogCaption = OdString::kEmpty |
[in] Dialog caption. |
const OdString& defExt = OdString::kEmpty |
[in] Default file extension without "." |
const OdString& defFilename = OdString::kEmpty |
[in] Default filename. |
const OdString& filter = OdString::kEmpty |
[in] Filter pattern. |
Prompts the user for a filename, and returns their response.
flags must be one of the following:
Name |
Value |
Description |
kGfpForOpen |
0 |
For Open. |
kGfpForSave |
1 |
For Save. |
kGfpOverwritePrompt |
2 |
Enable overwrite prompt displaying when exist file selected for saving. |
This function is intended for the selection of filenames via dialog boxes, although other methods may be used.
The default implementation of this function does nothing but return "unsupported".
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|