How to remove beep from application windows

0

I have an application developed in Delphi7, in some calls, windows emits that beep , and is filling & <

I wanted to know if you have disable sound from windows in my application, with some windows feature call and application disable. I do not want to disable the sound of the operating system, just the application.

    
asked by anonymous 02.05.2017 / 22:43

1 answer

1

Try this in your application

//Desabilitar beep
SystemParametersInfo(SPI_SETBEEP, 0, nil, SPIF_SENDWININICHANGE); 
    
03.05.2017 / 04:20