OFN_CREATEPROMPT top-level constant

  1. @Deprecated('Use OPEN_FILENAME_FLAGS.OFN_CREATEPROMPT instead')
int const OFN_CREATEPROMPT

If the user specifies a file that does not exist, this flag causes the dialog box to prompt the user for permission to create the file. If the user chooses to create the file, the dialog box closes and the function returns the specified name; otherwise, the dialog box remains open. If you use this flag with the OFN_ALLOWMULTISELECT flag, the dialog box allows the user to specify only one nonexistent file.

Implementation

@Deprecated('Use OPEN_FILENAME_FLAGS.OFN_CREATEPROMPT instead')
const OFN_CREATEPROMPT = 0x00002000;