Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arbitrary start/end beep
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00779104
Message ID:
00779703
Views:
13
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform