#include <ICloseAllDocsCmdData.h>
|
| enum | { kDefaultIID = IID_ICLOSEALLDOCSCMDDATA } |
| |
This interface is used for the close all documents commands: kCloseAllAndQuitCmdBoss, kCloseAllCmdBoss.
| virtual bool16 ICloseAllDocsCmdData::GetAllowCancel | ( | | ) | const |
| pure virtual |
Get whether the command may be canceled.
- Returns
- whether the command may be canceled.
Get whether users should be allowed to save modified documents.
- Returns
- whether users should be allowed to save modified documents.
Get what to close (documents, books, libraries, etc.).
- Returns
- what to close.
| virtual void ICloseAllDocsCmdData::SetAllowCancel | ( | bool16 | allowCancel | ) | |
| pure virtual |
Set whether the command may be canceled. Defaults to kTrue.
- Parameters
| whether | the command may be canceled. |
Set whether users should be allowed to save modified documents. Defaults to kAsk.
- Parameters
| promptForSave | whether users should be allowed to save modified documents. |
Set what to close (documents, books, libraries, etc.). Defaults to kCloseDocOnly.
- Parameters
| whatToClose | what to close. |