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

#include <IGroupPanelAttributes.h>

Inheritance diagram for IGroupPanelAttributes:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IGROUPPANELATTRIBUTES }
 

Public Member Functions

virtual WidgetID GetBorderWidgetID () const =0
 
virtual void SetBorderWidgetID (const WidgetID &widgetID)=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

An interface used in conjunction with the Group Panel widget (kGroupPanelWidgetBoss). For example a group of related checkbox controls with a titled frame, here, the border widget draws the title.

Member Function Documentation

virtual WidgetID IGroupPanelAttributes::GetBorderWidgetID () const
pure virtual

Get the widget id of the widget to use in the top left border of the GroupPanel. The widget can have sub-widgets. If GetBorderWidgetID returns 0, a simple framed border will be drawn.

Returns
the widget id
virtual void IGroupPanelAttributes::SetBorderWidgetID (const WidgetIDwidgetID)
pure virtual

Sets the widget id of the widget to use in the top left border of the GroupPanel. Note: Setting the widgetID does not automatically cause the GroupPanel to position the border widget. To ensure that the new widget is used, you must force the dialog to re-layout.

Parameters
widgetID- the widget id of the widget to use in the top left border of the GroupPanel.
Returns
void