BCGControlBar Pro for MFC
CBCGPToolbarMenuButton* CBCGPPopupMenu::GetMenuItem ( int  iIndex) const

Provides access to a popup menu item.

Returns
A pointer to a menu item.

In BCGControlBar Library menu items are represented by CBCGPToolbarMenuButton objects.

Use this function to get access to a menu item specified by the iIndex parameter.

Parameters
iIndexSpecifies the zero-based index of a menu item's to return.