All Frameworks Class Hierarchy This Framework Previous Next Indexes
System.IUnknown | +---System.IDispatch | +---System.CATBaseUnknown | +---System.CATEventSubscriber | +---ApplicationFrame.CATCommandHeader | +---ApplicationFrame.CATCommandHeaderWithSDO | +---CATCommandHeaderWithSDOForAgent
Usage: you must use this class as is. You should never derive it.
public class CATCommandHeaderWithSDOForAgent
Class for command headers to represent Dialog Agents in a toolbar.
Role: This header allows you to see a CATDialogAgent in a toolbar. The agents are set in the Set of Dialog Objects (SDO) by the CATStateCommand thanks to the
CATStateCommand.AddSDOElement method.
An object in the SDO is visualized thanks this class under these three conditions:
Example of usage: You are in a workshop, workbench or in an Add-in
new CATCommandHeaderWithSDOForAgent("HeaderID", IID_CATIMyVisuForMyToolbar);
// The container which represents the toolbar NewAccess(CATCmdContainer,pCATMySDOTlb,CATMySDOTlb); ...... // Starter to visualize all objects in the SDO NewAccess(CATCmdStarter,pCATMySDOStr,CATMySDOStr); ..... // Associate the command header with the starter SetAccessCommand(pCATMySDOStr,"HeaderID")
public CATCommandHeaderWithSDOForAgent( | const CATString& | iHeaderID, |
const IID& | iVisuIID) |
public virtual ~CATCommandHeaderWithSDOForAgent( | ) |
Copyright © 2003, Dassault Systèmes. All rights reserved.