InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
YangPanelCreator Class Reference
Inheritance diagram for YangPanelCreator:
CPanelCreatorIPanelCreatorIPMUnknown

Public Member Functions

 YangPanelCreator (IPMUnknown *boss)
 
virtual ~YangPanelCreator ()
 
virtual RsrcID GetPanelRsrcID () const
 
- Public Member Functions inherited from CPanelCreator
 CPanelCreator (IPMUnknown *boss)
 
virtual ~CPanelCreator ()
 
virtual IControlViewCreatePanel (const ServiceID dialogServiceID, bool16 isDialog=kFalse)
 
virtual IControlViewCreatePanelForDialog (const ServiceID dialogServiceID)
 
virtual void GetServiceIDs (K2Vector< ServiceID > &serviceIDs)
 
virtual bool16 AutoShowPanel () const
 

Additional Inherited Members

- Protected Member Functions inherited from CPanelCreator
virtual void GetPanelViewRsrcID (const ServiceID dialogServiceID, RsrcID &rsrcID, PluginID &pluginID)
 

Detailed Description

We override CPanelCreator::GetPanelRsrcID() so we can provide a specific service ID and resource ID for our panel. This is one of the key components that allows the switching mechanism. This implements IPanelCreator, and uses the partial implementation CPanelCreator.

See Also
GetPanelRsrcID

Constructor & Destructor Documentation

YangPanelCreator::YangPanelCreator (IPMUnknownboss)
inline

Constructor.

Parameters
bossIN interface ptr from boss object on which this interface is aggregated.
virtual YangPanelCreator::~YangPanelCreator ()
inlinevirtual

Destructor.

Member Function Documentation

Binds the C implementation class onto its ImplementationID making the C code callable by the application *RsrcID YangPanelCreator::GetPanelRsrcID () const
virtual

Returns the resource ID of the panel that is used in finding the service IDs resource and the panel view resource. Called by CPanelCreator::GetServiceIDs and CPanelCreator::GetPanelViewRsrcID.

Returns
resource ID containing service IDs resource and panel view resource.

Reimplemented from CPanelCreator.