BCGControlBar Pro for MFC
CBCGPRibbonButton* CBCGPRibbonBackstageViewPanel::AddCommand ( UINT  uiCommandID,
LPCTSTR  lpszLabel,
int  nImageIndex = -1,
BOOL  bAddToBottom = FALSE 
)
inline

Adds a command to Backstage View

Use this function to add a new command to Backstage View.

Parameters
uiCommandIDSpecifies Command ID.
lpszLabelSpecifies the command text.
nImageIndexA zero based image index in the Ribbon Control's image list.
bAddToBottomSpecifies whether item is located at the panel's bottom.