Reload PocketPC-registry after making changes

  • Thread starter Danyel Meyer - dialog-it GmbH
  • Start date
D

Danyel Meyer - dialog-it GmbH

Hallo group!

I´m just trying to change system-parameters of my PocktPC using OpenNETcf´s
Registry-class. This works quite fine, I am able to read and write keys´
values. But I have a problem now:
When changing the system volume eg. (HKCU\ControlPanel\Volume\Volume), this
takes no effect until I soft-reset the device.
Is there a possibility to "tell" the system to re-read its
registry-settings?

Many thanks in advance,

--
Danyel Meyer
-------------------------------------------
dialog-it GmbH
Röllinghäuser Strasse 55a
31061 Alfeld/Leine

Tel +49 (0) 5181 900 814
Fax +49 (0) 5181 900 815
E-Mail (e-mail address removed)
 
C

Chris Tacke, eMVP

Offhand (meaning I've not tried it so it might not do anything) I'd try
broadcasting a WM_SETTINGCHANGE windows message. Often the control panel
sends this notification so the system knows that a change has been made.
 
D

Danyel Meyer - dialog-it GmbH

Hi Chris!

I had this idea, too, but I don´t really know how to send this message.
In the SDK help I´ve found something about it under SystemParametersInfo,
but I have no specific idea how to use it.
Do you have some code, VB or C#?

Many thanks in advance,


--
Danyel Meyer
-------------------------------------------
dialog-it GmbH
Röllinghäuser Strasse 55a
31061 Alfeld/Leine

Tel +49 (0) 5181 900 814
Fax +49 (0) 5181 900 815
E-Mail (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top