Share

CAdUiFileDialog::EditorCommandCancelled

C++

BOOL EditorCommandCancelled();

Description

Call this method to determine if an interactive command was canceled in the Drawing Editor. This is useful when a dialog runs a sub-dialog, which in turn runs a command. If the sub-dialog's command was canceled and the sub-dialog terminated the calling dialog will probably want to terminate as well.

Returns TRUE if the last interactive command was canceled, FALSE otherwise.

Example:

    CMyDialog subDialog;

    subDialog.DoModal();

    if (subDialog.EditorCommandcanceled())
    OnCancel();

Links

CAdUiFileDialog

Was this information helpful?