I'm using a TWebbrowser component in my Delphi app, whose content I load programmatically:
(aWebBrowser.Document as IPersistStreamInit).
Load(TStreamAdapter.Create(aMemoryStream))
On every Load the component produces an annoying click sound. Can this be disabled?
TIA
Take a look at the CoInternetSetFeatureEnabled procedure in URLMON.DLL, as documented here. Enabling FEATURE_DISABLE_NAVIGATION_SOUNDS for your app will do what you need.
This is a windows setting. I'm not sure your application should change that setting.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With