why "default Beep" windows sound is played
-
in a dialog have some buttons and a treeCtrl i am overriding the function PreTranslateMessage to get the pressed key and do some processing depending on this key the problem is : whenever i press any key the default BEEP windows sound is played why is that and how can i stop it thnx 4 ur time and concern.
-
in a dialog have some buttons and a treeCtrl i am overriding the function PreTranslateMessage to get the pressed key and do some processing depending on this key the problem is : whenever i press any key the default BEEP windows sound is played why is that and how can i stop it thnx 4 ur time and concern.
-
I think this is a feature of Windows OS -- beeping if a key cannot be processed by the focused control, like button. Maybe you should return
TRUE
from yourPreTranslateMessage
for all of your keys, thus stopping further processing? I hope this helps.yea this help now the problem solved thnx alot 4 ur help