Skip to content
⌘ NSIS Forum Archive

Update caption of dialog button

3 posts

BGIdev#

Update caption of dialog button

Using custom pages (3 total), have GetDlgItem command to get handle of Next command button.

The handle is used to set the Enable/Disable state of button, to allow proceeding to next page when appropriate, with the EnableWindow command.

On first two pages, the caption shows as 'Next', on last page it is shown as 'Close'.

Is there a way to specify to show 'Exit' as the caption on the last page?
BGIdev#
Thanks....

I got it to work with SendMessage, via trial/error.....

Will take a look at MiscButtonText in the future.