Share

OkHandlerErr

C++

enum OkHandlerErr {
  NAV_OKHANDLER_SUCCESS = 0,
  NAV_OKHANDLER_NONFILESYSTEM,
  NAV_OKHANDLER_FAILURE,
  NAV_OKHANDLER_TOOLONG,
  NAV_OKHANDLER_CONTINUE_NAVIGATION
};

File

aNavDialog.h

Members

Members Description
NAV_OKHANDLER_SUCCESS Function succeeded; continue processing.
NAV_OKHANDLER_NONFILESYSTEM Trying to save or open a location that is not a file system.
NAV_OKHANDLER_FAILURE Indicates a general failure.
NAV_OKHANDLER_TOOLONG Detail failure: name plus path is too long.
NAV_OKHANDLER_CONTINUE_NAVIGATION Don't close the dialog on OK, instead navigate the UI to the folder and stay open.

Description

This is the enumerated type for error codes used by the OK handler functions.

Previous Declaration

enum OkHandlerErr {

NAV_OKHANDLER_SUCCESS = 0,

NAV_OKHANDLER_NONFILESYSTEM,

NAV_OKHANDLER_FAILURE,

NAV_OKHANDLER_TOOLONG

};

History

AutoCAD 2025

NAV_OKHANDLER_CONTINUE_NAVIGATION was added.

Was this information helpful?