Kill sound on Enter in string gadget

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by horst.

Anyone knows how to kill the sound that comes when you hit
the ENTER key in a string gadget??

InitSound() disables all WAV sounds in message boxes as well
(that's not what I want), and PlaySound_(0,..) does not help.

Any ideas?

Horst.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> Anyone knows how to kill the sound that comes when you hit
> the ENTER key in a string gadget??

I'd like to know too! In Visual Basic, you use KeyAscii=0 in the gadget's
"KeyPress" event, but obviously that doesn't work in PureBasic...


PB - Registered PureBasic Coder
Post Reply