Developer

API Reference

IMenuModel_Size()

Brew Release
Brew MP 1.0.2
See Also
Description
This function retrieves the size of a given menu model, returned as the number of menu items stored in the model. A menu model containing three menu items (red, green, blue) would return 3, while a menu containing four menu items (John, Paul, George, Ringo) would return 4. Simple!
Parameters
  • pif
    []:
    Pointer to the IMenuModel interface object.
Interface
Prototype
   int IMenuModel_Size(IMenuModel *pif); 
Return
The current number of items stored in the menu model.
Side Effect
None
Comment
None
  • Follow