<< Return to Main Index

< Return to Class Index

CGXLongOperation::SetAbortDialog

static void SetAbortDialog(BOOL b);

b

TRUE if abort-dialog box shall be displayed; FALSE otherwise.

Remarks

Specifies whether CGXLongOperation should display a dialog when the user has pressed ESC.

If you specify FALSE, an operation will automatically be aborted when the user presses ESC. GetConfirmedAbortState will return TRUE if SetCanRollback(FALSE) was called. Otherwise GetConfirmedAbortState will return FALSE but GetConfirmedRollbackState will return TRUE.

See Also

CGXLongOperation::SetCanRollback CGXLongOperation::GetRollbackConfirmedState CGXLongOperation::GetAbortConfirmedState

CGXLongOperation

Class Overview | Class Members