Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arbitrary start/end beep
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00779104
Message ID:
00779703
Vues:
12
Kamil

>I am afraid both of the approaches have flaws.
>1) Chr(7) can produce different sounds on different PCs. On my PC it gives away a ding not exactly a beep.

You can set the bell sound produced by Chr(7) using the SET BELL TO command ( use any WAV file for it ).


>2) Keypress rate on different PCs is different, so interscepting Keypress event will not work.

First check if there is a big difference between computers for the typematic rates in the keypress event. If there is, this can be a little tricky to set it ( i would in that case start looking for api functions that can set the typematic rate or the keyboard ).

HTH
Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform