PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Disabling click sound for button press

Does anyone know how to disable the pocketPC 2002 button click sound?

pressing the d-pad makes an annoying noise on my Jornada 568 and I'd like to disable this while my game application is running

I've noticed other games don't have this problem so I figure there must be some way to control it
Start -> Settings -> Sounds & Notifications -> Uncheck "Hardware Buttons"
He means disable the sound progmatically when his application is open.
OH! Doh... I didn't even know what forum this was when I posted :(
Couldn't you get that registry setting value and if it is enabled, disable it and reenable it just before your program closes?
heh - Moose - I actually just figured out the OS way to disable it after I posted that message so at least I don't have to hear it anymore on my device... but as sponge pointed out - I am looking for a way to do it programatically

If anyone knows the reg key please pass along - otherwise I'll do some digging and see if I can find it

thanks!
Try this...

SetWindowLong (hwnd, GWL_EXSTYLE, WS_EX_INK);

Werner Sharp
http://www.sharp-software.com