BCGControlBar Pro for MFC
BOOL CBCGPTranslateManager::GetControlTranslatedLabel ( CString &  str,
BCGPCommandControlType  controlType,
const CBCGPControlInfo &  controlInfo,
BOOL  bIsMSAALabel = FALSE 
) const

Translates the text of the specific GUI control or item using the currently loaded translations hash table.

Parameters
strA text label. If the method succeeds, this parameter will contain the translated text.
controlTypeA translated control type.
controlInfoA translated control information.
bIsMSAALabelIf this parameter is TRUE, the MSAA name is translated.