Inno Setup在单击“取消”按钮时显示MessageBox

时间:2016-08-01 10:01:51

标签: inno-setup

如何在取消按钮上创建消息框?

https://4sysops.com/wp-content/uploads/2015/09/Yes-No-prompt.png

1 个答案:

答案 0 :(得分:1)

实施CancelButtonClick event function

[Code]

procedure CancelButtonClick(CurPageID: Integer; var Cancel, Confirm: Boolean);
begin
  MsgBox('Cancel button was clicked', mbInformation, MB_OK);
end;

设置CancelConfirm输出参数,以便根据需要继续进行Inno设置。