Change smartphone silent mode in registry

  • Thread starter Thread starter alton chou
  • Start date Start date
A

alton chou

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.
 
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.../wceshellui5/html/wce50lrfWMSETTINGCHANGE.asp

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

Peter
 
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 !
 
Back
Top