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

Public Member Functions | |
| virtual IDialog * | CreateNewDialog (const RsrcSpec &spec, const IDialog::DialogType &dialogType, bool16 allowMultipleCopies=kAllowMultipleCopies, bool16 okToCacheDialog=kCacheDialog, bool16 allowResize=kDontAllowUserResize)=0 |
| virtual IDialog * | CreateNewDialog (ClassID windowClass, const RsrcSpec &spec, const IDialog::DialogType &dialogType, bool16 allowMultipleCopies=kAllowMultipleCopies, bool16 okToCacheDialog=kCacheDialog, bool16 allowResize=kDontAllowUserResize)=0 |
| virtual bool16 | IsModalDialogOpen () const =0 |
| virtual bool16 | IsModelessDialogInFront () const =0 |
| virtual bool16 | IsAnyDialogInFront () const =0 |
| virtual IWindow * | GetFrontmostDialogWindow () const =0 |
| virtual void | IncrementModalDialogCnt ()=0 |
| virtual void | DecrementModalDialogCnt ()=0 |
| virtual uint16 | GetModalDialogCnt () const =0 |
| virtual void | SetSuppressDialogs (bool16 suppress)=0 |
| virtual bool16 | GetSuppressDialogs () const =0 |
| virtual uint64 | ClearDialogInstanceList (bool16 reportMemoryUsed=kFalse)=0 |
| virtual bool16 | CanProcessDelayedWaitForDialog (IDialog *iDialog)=0 |
| virtual void | ClearDialogFromInstanceList (IDialog *iDialog)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface for the Dialog manager. The Dialog Manager interface is found on the Application boss object.
| anonymous enum |
The following are const parameters for the CreateNewDialog method. Description of how the parmeters function can be found in the documentation for CreateNewDialog.
| pure virtual |
CreateNewDialog will create the specified dialog and return a pointer to the dialog. Don't "AddRef" the pointer, the dialog will take care of destructing itself when the dialog is closed.
If "allowMultipleCopies" is true, this function will create another copy of the dialog if a previous copy of the dialog is currently open. If "allowMultipleCopies" is false and the dialog is already open, the existing dialog is returned. If the dialog is modeless, only one copy of the dialog can be opened at a time, regardless of the value of allowMultipleCopies.
If okToCacheDialog is true, a cached copy of the dialog will be returned, if one exists. If okToCacheDialog is false, the dialog will be reread from the specified resource.
| spec | IN locator for the resource description |
| dialogType | IN the type of the dialog (kModal, kMovableModal, or kModeless) |
| allowMultipleCopies | IN can multiple copies of the dialog exist simultaneously |
| okToCacheDialog | IN can this dialog be cached, or must it be reread from disk. |
| allowResize | IN can this dialog be resized |
| pure virtual |
Same as above version except specify the window class ID in addition to the dialog type (why? there is a 1 to 1 mapping)
| windowClass | IN window class ID for the window (kModalWindowBoss, kMovableModalWindowBoss, or kModelessWindowBoss) |
| spec | IN locator for the resource description |
| dialogType | IN the type of the dialog (kModal, kMovableModal, or kModeless) |
| allowMultipleCopies | IN can multiple copies of the dialog exist simultaneously |
| okToCacheDialog | IN can this dialog be cached, or must it be reread from disk. |
| allowResize | IN can this dialog be resized |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
Suppress display of dialogs (by auto-pressing the default button). Does not suppress progress bars.
| suppress | specifies whether to suppress dialogs |