SEM_NOOPENFILEERRORBOX top-level constant
int
const SEM_NOOPENFILEERRORBOX
The OpenFile function does not display a message box when it fails to find a file. Instead, the error is returned to the caller. This error mode overrides the OF_PROMPT flag.
Implementation
const SEM_NOOPENFILEERRORBOX = 0x8000;