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:
You can remove the text label using RemoveText().
strText | Specifies the text string to set. |
textAlignment | Specifies the text alignment. |
Call this member function to modify the caption bar text. You can use the following simple tags inside the text: