|
#11
|
||||
|
||||
|
you use this
function sndPlaySound(lpszSoundName: String; uFlags: cardinal):integer; external '[email protected] stdcall'; example sndPlaySound(ExpandConstant('{tmp}\ButtonSoundSele cted.wav'),$0001); use these on default buttons OnClick:=; OnDblClick:=; OnMouseDown:=; use these for custom buttons (botva2 buttons) BtnSetEvent(,BtnClickEventID,WrapBtnCallback(sndPl aySound(ExpandConstant('{tmp}\ButtonSoundSelected. wav'),$0001);,1)); BtnSetEvent(,BtnMouseEnterEventID,WrapBtnCallback( sndPlaySound(ExpandConstant('{tmp}\ButtonSoundSele cted.wav'),$0001);,1)); |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |