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

This boss class implements a selectable dialog.
Specialization of IObserver is added to handle widget changes dynamically. In addition, an implementation of IDialogCreator was added to handle the dialog creation as part of providing a selectable dialog. Note that we are using the IID_IDIALOGCONTROLLER from kSelectableDialogBoss. If you want to provide your own behavior for the Ok/Cancel buttons, add your own implementation of IDialogController based on the partial implementation, CDialogController. Refer to the BasicDialog sample for more information.
| IPMUnknown kBscSlDlgDialogBoss::IID_IDIALOGCREATOR |
Creates the selectable dialog.
Also provides panel ordering information via BscSlDlgDialogCreator::GetOrderedPanelsRsrcID.
Implementation: kBscSlDlgDialogCreatorImpl.
| IPMUnknown kBscSlDlgDialogBoss::IID_IOBSERVER |
Allows dynamic processing of dialog widget changes, such as the info button.
Also provides support for specific switching mechanism. This implementation subclasses CSelectableDialogObserver, not CObserver.
Implementation: kBscSlDlgDialogObserverImpl.
| ISelectableDialogSwitcher kBscSlDlgDialogBoss::IID_ISELECTABLEDIALOGSWITCHER |
Dynamically switch dialog with tree view selection
Implementation: kBscSlDlgTreeViewDlgSwitcherImpl.