CFx SDK Documentation 2024 SP0
|
#include <FxUI.h>
Public Member Functions | |
virtual | ~CFxUIMenuItemCollection () |
virtual bool | InsertAfter (const CFxUIMenuItem *pPosition, CFxUIMenuItem *pItem)=0 |
virtual bool | Add (CFxUIMenuItem *pItem)=0 |
virtual bool | Remove (CFxUIMenuItem *pItem)=0 |
virtual unsigned int | GetCount () const =0 |
virtual CFxUIMenuItem * | GetItem (unsigned int index)=0 |
virtual void | Clear (bool bDeleteItems)=0 |
virtual bool | Has (const CFxUIMenuItem *pItem) const =0 |
Description: Represents the menu item collection of the user interface. Library: DDKERNEL
|
inlinevirtual |
|
pure virtual |
Description: Adds pItem.. Arguments:
[in,out] | pItem | If non-null, the CFxUIMenuItem* to add. |
Return Value: true if it succeeds, false if it fails.
|
pure virtual |
Description: Clears this object to its blank/initial state. Arguments:
bDeleteItems | true to delete the items. |
|
pure virtual |
Description: Gets the count.
Return Value: The count.
|
pure virtual |
Description: Description: Gets an item. Arguments:
index | Zero-based index of the. |
Return Value: null if it fails, else the item.
|
pure virtual |
|
pure virtual |
Description: Inserts an after. Arguments:
pPosition | The position. | |
[in,out] | pItem | If non-null, the item. |
Return Value: true if it succeeds, false if it fails.
|
pure virtual |
Description: Removes the given pItem. Arguments:
[in,out] | pItem | If non-null, the CFxUIMenuItem* to remove. |
Return Value: true if it succeeds, false if it fails.