Software Support > DOS/WinCab
sound when i push a button
(1/1)
gabypotter:
Hi, Chris!
i want to know if it is posibble to program
wincab to make a sound like credit sound,
when im press the numbers, is this posiblle?
Chris:
You need to edit the skin file with a text editor and add the sounds you want.
Skins can contain pointers to sounds that are triggered when a button is pressed or an event occurs. Sounds can be set to trigger either when a message or button is set or unset. To specify that a sound should be played when a message or button is unset, prefix the message or button name with a minus sign. There is a special button derfinition called BTN_ANY that will respond to any button event.
Here is a sample sound definition set:
[Sounds]
BTN_COIN1=coin.wav
BTN_COIN2=coin.wav
BTN_ANY=btnclick.wav
MSG_START=startup.wav
-MSG_START=shutdown.wav
gabypotter:
wow!
thank you
i will try it right now!
Navigation
[0] Message Index
Go to full version