Share

CNavDialog::SetAcceptAnyFileExtension

C++

void SetAcceptAnyFileExtension(
    BOOL any
);

Description

Sets the accept-any-extension flag. This flag is used when the user enters a file name with an extension that is not in the filename filter list. If set to true, the dialog accepts any file extension. If set to false, it accepts extensions only in the filename filter list and, if the user enters an extension not in the file name filter list, replaces the user-entered extension with the current extension.

Parameters

Parameters Description
any True if any file extension should be accepted; otherwise false

Links

CNavDialog Class

Was this information helpful?