InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IDialogCreator Class Referenceabstract

#include <IDialogCreator.h>

Inheritance diagram for IDialogCreator:
IPMUnknownCDialogCreatorBscSlDlgDialogCreatorBscSlDlgTabDialogCreator

Public Member Functions

virtual IDialogCreateDialog ()=0
 
virtual RsrcID GetOrderedPanelsRsrcID () const =0
 
virtual void GetOrderedPanelIDs (K2Vector< ClassID > &classIDs)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Interface usedto create selectable dialogs. The IDialogCreator appears on selectable dialog service bosses, and is used to create a selectable dialog (a dialog, like the preference dialog, that switches between two or more panels by selecting fr0m a list on the left).

See Also
CDialogCreator

Member Function Documentation

virtual IDialog* IDialogCreator::CreateDialog ()
pure virtual

Create the dialog

Implemented in BscSlDlgDialogCreator, BscSlDlgTabDialogCreator, and CDialogCreator.

virtual void IDialogCreator::GetOrderedPanelIDs (K2Vector< ClassID > & classIDs)
pure virtual

Get the ordered list of class IDs of selectable dialogs that are to be installed in this dialog. It's ok to leave the classIDs vector empty. In that case, the panels will be added to the dialog in random order.

Parameters
classIDsOUT ordered list of class IDs of selectable dialogs

Implemented in BscSlDlgTabDialogCreator, BscSlDlgDialogCreator, and CDialogCreator.

virtual RsrcID IDialogCreator::GetOrderedPanelsRsrcID () const
pure virtual

Get the Resource ID of the resource containing an ordered list of panel ids. If order is not important, it's not necessary to override this function.

Returns
the resource id

Implemented in BscSlDlgTabDialogCreator, BscSlDlgDialogCreator, and CDialogCreator.