C++
void CompleteEditorCommand( BOOL restoreDialogs = TRUE );
Description
Call this method upon return from an interactive command that was completed in the Drawing Editor. This method is intended for use after a a call to BeginEditorCommand().
This routine restores the dialog and sets the command state to kAdUiCommand_Completed.
Example:
BeginEditorCommand(); if (DoMyInteractiveCommand()) CompleteEditorCommand(); else CancelEditorCommand();
Parameters
Parameters | Description |
---|---|
restoreDialogs | Input Boolean indicating whether to restore dialogs |