struct CCL::ICommandBarItem
Overview
#include <icommandeditor.h> struct ICommandBarItem: public CCL::IUnknown { // methods virtual StringRef CCL_API getType () const = 0; virtual int CCL_API countChilds () const = 0; virtual ICommandBarItem*CCL_API getChildItem (int index) const = 0; virtual int CCL_API getChildIndex (ICommandBarItem* item) const = 0; virtual tbool CCL_API getProperty (Variant& var, CStringRef propertyId) const = 0; };
Inherited Members
public: // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0;
Detailed Documentation
Methods
virtual StringRef CCL_API getType () const = 0
Get type of item, e.g.
“Button”, “Group” or custom types.
virtual int CCL_API countChilds () const = 0
Count child items.
virtual ICommandBarItem*CCL_API getChildItem (int index) const = 0
Get child item at index.
virtual int CCL_API getChildIndex (ICommandBarItem* item) const = 0
Get index of child item.
virtual tbool CCL_API getProperty (Variant& var, CStringRef propertyId) const = 0
Get property of item (IObject).