BCGControlBar Pro for MFC
void CBCGPRibbonEdit::SetTextAlign ( int  nAlign)

Sets alignment of text.

Sets the alignment of the text associated with the CBGPRibbonEdit and it's in-place edit control. nAlign can be one of the following values:

  • ES_LEFT - left alignment
  • ES_CENTER - center alignment
  • ES_RIGHT - right alignment
Parameters
nAlignSpecifies the text alignment to set.