DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 17 Aug 2007 13:25:48 -0700,    posted on: microsoft.public.dotnet.framework.compactframework        back       

Thread Index
  1    Ben
          2    Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com
                 3    Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com
          4    Ben
          5    Ben
          6    Ben


Disable Sounds   
How can I disable all of the sounds in my application?  I want users
to be able to turn sounds on and off only in the game I am working on
without affecting other applications or events.
Date:Fri, 17 Aug 2007 13:25:48 -0700   Author:  

Re: Disable Sounds   
You lost me.  You want the sound from other applications to still occur 
while your application is running, but you just want that application not to 
make any noise?  Just do it.  If checkbox checked for no sound, don't make 
any sound calls.  It's got to be deeper than that, but you're going to have 
to give more details...

Paul T.

"Ben"  wrote in message 
news:1187382348.671307.225570@k79g2000hse.googlegroups.com...

> How can I disable all of the sounds in my application?  I want users
> to be able to turn sounds on and off only in the game I am working on
> without affecting other applications or events.
> 
Date:Fri, 17 Aug 2007 13:38:02 -0700   Author:  

Re: Disable Sounds   
My menus make default clicking sounds when I use them.

Also, there are "screen tap" sounds, but I don't care as much about
those.
Date:Fri, 17 Aug 2007 13:57:29 -0700   Author:  

Re: Disable Sounds   
You'd have to turn those off, along with the rest of the OS use of them, 
while you are in front, and then turn them back on when you are brought to 
the front again.  You can't prevent screen clicks, which are handled inside 
the OS long before it even cares what application was clicked, if any, from 
happening in just your application.  If you don't want to do that at a 
granular level, just set the volume to 0 when you start and set it back to 
its original level when some other application pops up or when you exit.  Of 
course, the user can always manually turn the sounds back up, but it's 
usually a bad idea to undo what he wants to do.  If you're worried about 
that, you'll have to turn off the sounds for those operations (and hope he 
doesn't manually go turn them back on again, of course).

Paul T.

"Ben"  wrote in message 
news:1187384249.132967.59970@19g2000hsx.googlegroups.com...

> My menus make default clicking sounds when I use them.
>
> Also, there are "screen tap" sounds, but I don't care as much about
> those.
> 
Date:Fri, 17 Aug 2007 14:10:50 -0700   Author:  

Re: Disable Sounds   
I'm not playing any sounds anywhere in my code.  They are default
device sounds that are playing.
Date:Fri, 17 Aug 2007 14:11:51 -0700   Author:  

Re: Disable Sounds   
OK.  Thanks.  I was worried that that was the case.  I don't want my
game to mess with the system sounds or sound levels.  I'll just let
them use the device's sound settings to do whatever they want.  Thanks
for the info.
Date:Fri, 17 Aug 2007 14:49:50 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us