다음을 통해 공유


CMFCCaptionBar::SetText

캡션 표시줄 텍스트 레이블을 설정합니다.

void SetText(
   const CString& strText,
   BarElementAlignment textAlignment=ALIGN_RIGHT 
);

매개 변수

  • [in] strText
    설정 하는 텍스트 문자열입니다.

  • [in] textAlignment
    텍스트 맞춤입니다.

설명

텍스트 레이블 정렬에 지정 된 대로 textAlignment 매개 변수.다음 중 하나일 수 있습니다 BarElementAlignment 값:

  • ALIGN_INVALID

  • ALIGN_LEFT

  • ALIGN_RIGHT

  • ALIGN_CENTER

요구 사항

헤더: afxcaptionbar.h

참고 항목

참조

CMFCCaptionBar 클래스

계층 구조 차트