CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
CFxUIToolbarItemCollection Class Referenceabstract

#include <FxUI.h>

Public Member Functions

virtual ~CFxUIToolbarItemCollection ()
 
virtual bool InsertAfter (const CFxUIToolbarItem *pPosition, CFxUIToolbarItem *pItem)=0
 
virtual bool Add (CFxUIToolbarItem *pItem)=0
 
virtual bool Remove (CFxUIToolbarItem *pItem)=0
 
virtual unsigned int GetCount () const =0
 
virtual CFxUIToolbarItemGetItem (unsigned int index)=0
 
virtual void Clear (bool bDeleteItems)=0
 
virtual bool Has (const CFxUIToolbarItem *pItem) const =0
 

Detailed Description

Description: Represents the toolbar item collection of the user interface. Library: DDKERNEL

Definition at line 1377 of file FxUI.h.

Constructor & Destructor Documentation

◆ ~CFxUIToolbarItemCollection()

virtual CFxUIToolbarItemCollection::~CFxUIToolbarItemCollection ( )
inlinevirtual

Definition at line 1380 of file FxUI.h.

Member Function Documentation

◆ Add()

virtual bool CFxUIToolbarItemCollection::Add ( CFxUIToolbarItem pItem)
pure virtual

Description: Adds pItem.. Arguments:

Parameters
[in,out]pItemIf non-null, the CFxUIToolbarItem* to add.

Return Value: true if it succeeds, false if it fails.

◆ Clear()

virtual void CFxUIToolbarItemCollection::Clear ( bool  bDeleteItems)
pure virtual

Description: Clears this object to its blank/initial state. Arguments:

Parameters
bDeleteItemstrue to delete the items.

◆ GetCount()

virtual unsigned int CFxUIToolbarItemCollection::GetCount ( ) const
pure virtual

Description: Gets the count.

Return Value: The count.

◆ GetItem()

virtual CFxUIToolbarItem* CFxUIToolbarItemCollection::GetItem ( unsigned int  index)
pure virtual

Description: Gets an item. Arguments:

Parameters
indexZero-based index of the.

Return Value: null if it fails, else the item.

◆ Has()

virtual bool CFxUIToolbarItemCollection::Has ( const CFxUIToolbarItem pItem) const
pure virtual

◆ InsertAfter()

virtual bool CFxUIToolbarItemCollection::InsertAfter ( const CFxUIToolbarItem pPosition,
CFxUIToolbarItem pItem 
)
pure virtual

Description: Inserts an after. Arguments:

Parameters
pPositionThe position.
[in,out]pItemIf non-null, the item.

Return Value: true if it succeeds, false if it fails.

◆ Remove()

virtual bool CFxUIToolbarItemCollection::Remove ( CFxUIToolbarItem pItem)
pure virtual

Description: Removes the given pItem. Arguments:

Parameters
[in,out]pItemIf non-null, the CFxUIToolbarItem* to remove.

Return Value: true if it succeeds, false if it fails.


The documentation for this class was generated from the following file: