DialogResults Enumerator

Description

Defines the valid return types from a dialog.
Defined in namespace "adsk::core" and the header file is <Core\CoreTypeDefs.h>

Methods

Name Value Description
DialogCancel 1 The dialog box return value is Cancel (usually sent from a button labeled Cancel).
DialogError -1 An unexpected error occurred.
DialogNo 3 The dialog box return value is No (usually sent from a button labeled No).
DialogOK 0 The dialog box return value is OK (usually sent from a button labeled OK).
DialogYes 2 The dialog box return value is Yes (usually sent from a buttons labeled Yes and Retry).

Version

Introduced in version August 2014