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

Provides access to a popup menu item.

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.

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