Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quieting Messagebox()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00262109
Message ID:
00262492
Vues:
12
>It seems that messagebox() always produces a noise when you display it. Is there a way to disable this noise? Or perhaps is there another way of producing the effects of a messagebox() that does not produce a noise?
>

The messagebox() doesn't have a 'noise' of its own, but some of the events signalled (exclamation, etc.) may have them - you'd need to alter the registry entries for the events that have the annoying sound - either do this throught he Control Panel applet, modify the registry keys at runtime, or get rid of the event signal portion of the messagebox. Since modifications through the Control Panel (or registry - the Control Panel app is just changing registry entries) affect the system as a whole, not just your app, it's probably best to remove the event indication from the messagebox, or use something other than the MESSAGEBOX() command, which relies on the Win32 API for its functionality.

>Thanks.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform