1
我想添加Alt功能到我的音頻按鈕; Alt + M鍵爲靜音和Alt + P鍵爲播放 像這樣如何在Inno Setup中添加按鍵訪問鍵
如何?應該輸入什麼代碼?我將在哪裏插入代碼?這裏是我的腳本:
SoundCtrlButton := TNewButton.Create(WizardForm);
SoundCtrlButton.Parent := WizardForm;
SoundCtrlButton.Left := 8;
SoundCtrlButton.Top := WizardForm.ClientHeight -
SoundCtrlButton.Height - 8;
SoundCtrlButton.Width := 40;
SoundCtrlButton.Caption :=
ExpandConstant('{cm:SoundCtrlButtonCaptionSoundOff}');
SoundCtrlButton.OnClick := @SoundCtrlButtonClick;