PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Change smartphone silent mode in registry

Reply

Change smartphone silent mode in registry

 
Thread Tools Rate Thread
Old 18-01-2006, 02:39 AM   #1
alton chou
Guest
 
Posts: n/a
Default Change smartphone silent mode in registry


Hi group:

I try to change smartphone operator mode from normal to silent via
modify registry setting.
the registy setting has been updated to silent.but the smartphone still
stay in normal mode.

Does anyone know how to enable the registry setting when the setting
changed.
thanks in advanced.

  Reply With Quote
Old 18-01-2006, 09:01 AM   #2
Peter Foot [MVP]
Guest
 
Posts: n/a
Default Re: Change smartphone silent mode in registry

Such system settings are usually updated in one of two ways, either you send
a WM_SETTINGCHANGE broadcast message to force the system to reload it's
settings, or you have to set a named system event. I don't know which method
is used in this specific scenario but I'd suggest trying the
WM_SETTINGCHANGE approach.
http://msdn.microsoft.com/library/d...TTINGCHANGE.asp

You can use Microsoft.WindowsCE.Forms.MessageWindow which has some static
methods for sending messages.

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net

"alton chou" <cmchoub@tsmc.com> wrote in message
news:1137551978.777577.34800@g43g2000cwa.googlegroups.com...
> Hi group:
>
> I try to change smartphone operator mode from normal to silent via
> modify registry setting.
> the registy setting has been updated to silent.but the smartphone still
> stay in normal mode.
>
> Does anyone know how to enable the registry setting when the setting
> changed.
> thanks in advanced.
>



  Reply With Quote
Old 19-01-2006, 01:12 AM   #3
alton chou
Guest
 
Posts: n/a
Default Re: Change smartphone silent mode in registry

Thanks Peter for your kindly reply!
I will try the WM_SETTINGCHANGE approach.
Another question is if I change the registry setting via RAPI XML
format,
Does it work using WM_SETTINGCHANGE approach, or another solution?

thanks again !

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off