I believe that preference is chached and that the effect doesnt happen until
a reset....

"Luc Le Blanc" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
>
> Ralph Curtis a �crit :
>
> > "Meg Walraed-Sullivan" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > >
> > > Hi,
> > > I'm still trying to find a way to temporarily turn off sounds (like
those
> > > that happen when you press a button) during a small part of my app and
> > have
> > > posted 4 times with no luck...I know someone out there must have some
good
> > > ideas?
> > > thanks all.
>
> UInt32              volume;
>
> volume = PrefGetPreference( prefSysSoundVolume );
> PrefSetPreference( prefSysSoundVolume, 0 );
>
> // sound off app part
> //...
>
> // restore previous system sound volume
>
> PrefSetPreference( prefSysSoundVolume, volume );
>
>
> --
> Luc Le Blanc
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to