Information générale
Titre:
How do I sound the bell on error?
I am developing a custom textbox sub-class. I am monitoring each keystroke in the keypress event. Some keystrokes are obvious errors and I want to sound the "bell" when those keys are pressed rather than accept them. I specify NODEFAULT on those keystrokes and so I therefore do not accept them, but I want the user to be aware so that is why I want to sound the "bell". The users only look up when they hear a "bell". I cannot find a way to make the bell sound.
Can anyone help me?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement