다음을 통해 공유


CMFCToolBarEditBoxButton::SetContentsAll

발견 한 CMFCToolBarEditBoxButton 클래스 개체에 지정 된 명령 ID가 해당 텍스트 상자에 지정 된 텍스트를 설정 하 고 있습니다.

static BOOL SetContentsAll(
   UINT uiCmd,
   const CString& strContents 
);

매개 변수

  • [in] uiCmd
    변경할 텍스트를 컨트롤의 명령 ID를 지정 합니다.

  • [in] strContents
    설정에 새 텍스트를 지정 합니다.

반환 값

텍스트에 설정 된 경우 0이 아닌. 0은 CMFCToolBarEditBoxButton 컨트롤에 지정 된 명령 ID가 존재 하지 않습니다.

요구 사항

헤더: afxtoolbareditboxbutton.h

참고 항목

참조

CMFCToolBarEditBoxButton 클래스

계층 구조 차트