BCGControlBar Pro for MFC
void CBCGPCaptionBar::SetText ( const CString &  strText,
BarElementAlignment  textAlignment = ALIGN_RIGHT 
)

Sets a text label on a caption bar.

Call this member function to set a text label on a caption bar. The text is aligned according to the textAlignment parameter. It can be one of the following BarElementAlignment enumerated values:

  • ALIGN_LEFT
  • ALIGN_RIGHT
  • ALIGN_CENTER

You can remove the text label using RemoveText().

Parameters
strTextSpecifies the text string to set.
textAlignmentSpecifies the text alignment.

Call this member function to modify the caption bar text. You can use the following simple tags inside the text:

  • \alink\a: the hyperlink
  • \btext\b: the bold text