CPropertySheet::SetFinishText
마침 명령 단추에 텍스트를 설정합니다.
void SetFinishText(
LPCTSTR lpszText
);
매개 변수
- lpszText
마침 명령 단추에 표시할 텍스트를 가리킵니다.
설명
호출 SetFinishText 마침 명령 단추에 텍스트를 표시 하 고 사용자는 마법사의 마지막 페이지에서 작업을 완료 한 후 다음 또는 뒤로 단추를 숨깁니다.
예제
// CShapePage is the last wizard property page. Enable the Back
// button and change the Next button to Finish. The "Finish" button
// will have "Done" as its caption.
BOOL CShapePage::OnSetActive()
{
CPropertySheet* psheet = (CPropertySheet*) GetParent();
psheet->SetWizardButtons(PSWIZB_BACK | PSWIZB_FINISH);
psheet->SetFinishText(_T("Done"));
return CPropertyPage::OnSetActive();
}
요구 사항
헤더: afxdlgs.h