/隐藏/禁用[确定]按钮下面的代码...如何删除消息框
ifdef UNICODE
#define AW "W"
#else
#define AW "A"
#endif
const
MB_TIMEDOUT = 32000;
MB_ICONERROR = $10;
MB_ICONQUESTION = $20;
MB_ICONWARNING = $30;
MB_ICONINFORMATION = $40;
function MessageBoxTimeout(hWnd: HWND; lpText: string; lpCaption: string;
uType: UINT; wLanguageId: Word; dwMilliseconds: DWORD): Integer;
external 'MessageBoxTimeout{#AW}@user32.dll stdcall';
procedure InitializeWizard;
begin
MessageBoxTimeout(WizardForm.Handle, 'Some ' +
'message', 'Setup', MB_OK or MB_ICONINFORMATION, 0, 5000);
end;
我只是想显示的消息框没有按钮。要添加或删除哪些代码?我会在哪里插入它?谢谢!
这是How to disable the “Next” button on the wizard form in Inno Setup?的代码与我的脚本一起工作吗?我似乎无法使其工作。
我添加一些代码来我的答案。 –