![]() | InDesign SDK 20.5 |
#include <IShowAlertRegistry.h>

Public Types | |
| enum | { kDefaultIID = IID_ISHOWALERTREGISTRY } |
Public Member Functions | |
| virtual void | Clear ()=0 |
| virtual bool32 | GetShouldShow (int32 alertID) const =0 |
| virtual void | SetShouldShow (int32 alertID, bool32 shouldShow)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This interface implements the "don't-show" registry, which controls which alerts are shown and which are not, based on the user's previous checking of "don't show this alert again" checkbox in many alerts, as well as the "show all alerts again" option in preferences, which brings them all back to life.
The interface lives on the application workspace.
| pure virtual |
Set all alerts to show.
| pure virtual |
Get whether to show a specific alert.
| alertID | The ID you're interested in. |
| pure virtual |
Set a specific alert to show or not-show.
| alertID | The ID you're interested in. |
| shouldShow | kTrue to enable the alert; kFalse to disable it. |