/隱藏/禁用[確定]按鈕下面的代碼...如何刪除消息框
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?的代碼與我的腳本一起工作嗎?我似乎無法使其工作。
我添加一些代碼來我的答案。 –