BCGControlBar Pro for MFC
BOOL CBCGPMenuBar::AddItemToRight ( UINT  nCommandID,
BOOL  bDPIAware = FALSE 
)

Adds an new item with the given command ID to right side of the menu bar.

Parameters
nCommandIDThe item command ID.
bDPIAwareSpecifies whether the item size be automatically scaled according to current DPI.