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

Public Types | |
| enum | { kDefaultIID = IID_ICONTROLSET } |
Public Member Functions | |
| virtual int32 | VisibleSetCount ()=0 |
| virtual int32 | TotalSetCount ()=0 |
| virtual void | ShowSets (K2Vector< int32 >)=0 |
| virtual void | ShowSets ()=0 |
| virtual void | Initialize (bool16 bCreateMenuButton=kFalse)=0 |
| virtual bool16 | IsCustomizable ()=0 |
| virtual void | GetVisibleControlSets (K2Vector< int32 > &sets) const =0 |
| virtual void | SetVisibleControlSets (K2Vector< int32 > sets)=0 |
| virtual void | ResetVisibleControlSets ()=0 |
| virtual IControlView * | GetNthControlSet (const int32 index) const =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 that represents a set of controls, one or more of which can be visible at a time. IControlSet is typically used to manage different appearances of the same UI, for example the large and small row versions of list boxes. Another example is the progressive disclosure used by some palettes.
There are subclasses for horizontal and vertical orientations (kControlSetHorzImpl, kControlSetVertImpl).
| pure virtual |
Return the nth control set (not necessary the same as the nth control view due to separator widgets).
| pure virtual |
Get a list of the visible control sets (by index).
| sets | OUT the list to put the visible sets in. |
| pure virtual |
Initialize the control set's view.
| pure virtual |
Is the control set customizeable - only possible for InCopy.
| pure virtual |
Set the visible control sets to whatever is currently visible.
| pure virtual |
Set the visible control sets to those in a list (by index) - called after customize dialog finishes.
| sets | IN the list to set as visible. |
| pure virtual |
Show the specified control sets
| pure virtual |
Show the currently visible control sets
| pure virtual |
Get the total count of control sets
| pure virtual |
Get the count of visible control sets