CPropertySheet::SetFinishText
Establece el texto del botón de comando end.
void SetFinishText(
LPCTSTR lpszText
);
Parámetros
- lpszText
Señala al texto que se mostrará en el botón de comando end.
Comentarios
Llame a SetFinishText mostrar el texto del botón de comando end y ocultar el Siguiente y admite los botones después de que el usuario ha completado la acción en la última página del asistente.
Ejemplo
// 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();
}
Requisitos
encabezado: afxdlgs.h