Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PSM_SETFINISHTEXT message

7 views
Skip to first unread message

Agarwal@discussions.microsoft.com Manish Agarwal

unread,
Dec 30, 2009, 7:39:01 AM12/30/09
to
From http://msdn.microsoft.com/en-us/library/bb774699(VS.85).aspx

PropSheet_SetFinishText
Sets the text of the Finish button in a wizard, shows and enables the
button, and hides the Next and Back buttons. You can use this macro or send
the PSM_SETFINISHTEXT message explicitly.

By default, the Finish button does not have a keyboard accelerator. You can
create a keyboard accelerator with this macro by including an ampersand (&)
in the text string that you assign to lpszText. For example, "&Finish"
defines F as the accelerator key.

How I can modify the text on the finish button and keep the Back button on
the property sheet page ?

Regards,
Manish Agarwal

Victor

unread,
Jan 2, 2010, 8:24:13 AM1/2/10
to
Use CPropertySheet::SetWizardButtons with PSWIZB_BACK | PSWIZB_FINISH
combination.
See the example in
http://msdn.microsoft.com/en-us/library/ex7e7b4s(VS.80).aspx?ppud=4

Victor

"Manish Agarwal" <Manish Aga...@discussions.microsoft.com> wrote in message
news:B5E5D511-36A3-4AF2...@microsoft.com...

Manish Agarwal

unread,
Jan 4, 2010, 4:45:01 AM1/4/10
to
This will not work because when you will call PropSheet_SetFinishText to
change the Finish button text it will hide the back button.

"Victor" wrote:

> .
>

0 new messages