![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IDROPDOWNLISTCONTROLLER } |
| enum | { kBeginning = 0, kNoSelection = -1, kEnd = -2, kDefaultSelection = -3 } |
Public Member Functions | |
| virtual void | Select (int32 index, bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual void | Deselect (bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual bool16 | IsSelected (int32 index) const =0 |
| virtual int32 | GetSelected () const =0 |
| virtual void | SetDefaultSelection (int32 index)=0 |
| virtual void | Enable (int32 index, bool16 doEnable=kTrue, bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual void | Disable (int32 index, bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual bool16 | IsEnabled (int32 index) const =0 |
| virtual bool16 | IsDropDownOpen () 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 |
| pure virtual |
Deselect the element selected. No selection.
| pure virtual |
Disable the element at the given position in the list.
| pure virtual |
Enable the element at the given position in the list.
| pure virtual |
Get index of the currently selected element.
| pure virtual |
Try to determine if dropdowm menu is open.
| pure virtual |
Is the given element enabled?
| pure virtual |
Is the given element selected?
| pure virtual |
Select the element at the given position in the list.
| pure virtual |
Set index of the element that should be selected when kDefaultSelection is passed into Select.