Hi,
I have found the registry setting to change the InCall volume on my windows
mobile 5.0 device. i am able to change this registry programmatically. But
the change in In-Call volume is happening only after warm rebooting the
device.

Can some me let me know how i can change the In-Call volume with out warm
rebooting the device?

Thanks in Advance,
Murthy

Re: changing InCall volume with out warm rebooting by ctacke/>

ctacke/>
Mon Jan 28 08:14:34 CST 2008

I'd ry broadcasting a WM_SETTING_CHANGE message after making the change and
see if the shell picks it up.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com


"Murthy" <Murthy@discussions.microsoft.com> wrote in message
news:B043B29C-36A8-443A-86B5-5ABA03708ED7@microsoft.com...
> Hi,
> I have found the registry setting to change the InCall volume on my
> windows
> mobile 5.0 device. i am able to change this registry programmatically. But
> the change in In-Call volume is happening only after warm rebooting the
> device.
>
> Can some me let me know how i can change the In-Call volume with out warm
> rebooting the device?
>
> Thanks in Advance,
> Murthy



Re: changing InCall volume with out warm rebooting by Murthy

Murthy
Mon Jan 28 23:40:36 CST 2008

Hi Chris,
I tried posting the below message, but it had no impact.

SendMessage((IntPtr)HWND_BROADCAST, WM_WININICHANGE, 0, (IntPtr)5000);

Please let me know if you are talking about the same message.

Thanks,
Murthy

"<ctacke/>" wrote:

> I'd ry broadcasting a WM_SETTING_CHANGE message after making the change and
> see if the shell picks it up.
>
>
> --
>
> Chris Tacke, Embedded MVP
> OpenNETCF Consulting
> Giving back to the embedded community
> http://community.OpenNETCF.com
>
>
> "Murthy" <Murthy@discussions.microsoft.com> wrote in message
> news:B043B29C-36A8-443A-86B5-5ABA03708ED7@microsoft.com...
> > Hi,
> > I have found the registry setting to change the InCall volume on my
> > windows
> > mobile 5.0 device. i am able to change this registry programmatically. But
> > the change in In-Call volume is happening only after warm rebooting the
> > device.
> >
> > Can some me let me know how i can change the In-Call volume with out warm
> > rebooting the device?
> >
> > Thanks in Advance,
> > Murthy
>
>
>

Re: changing InCall volume with out warm rebooting by ctacke/>

ctacke/>
Tue Jan 29 05:40:50 CST 2008

We're not.

http://msdn2.microsoft.com/en-us/library/ms725497(VS.85).aspx


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com


"Murthy" <Murthy@discussions.microsoft.com> wrote in message
news:9558CCCA-5047-49C4-ADA3-EB2EFB71CAE7@microsoft.com...
> Hi Chris,
> I tried posting the below message, but it had no impact.
>
> SendMessage((IntPtr)HWND_BROADCAST, WM_WININICHANGE, 0, (IntPtr)5000);
>
> Please let me know if you are talking about the same message.
>
> Thanks,
> Murthy
>
> "<ctacke/>" wrote:
>
>> I'd ry broadcasting a WM_SETTING_CHANGE message after making the change
>> and
>> see if the shell picks it up.
>>
>>
>> --
>>
>> Chris Tacke, Embedded MVP
>> OpenNETCF Consulting
>> Giving back to the embedded community
>> http://community.OpenNETCF.com
>>
>>
>> "Murthy" <Murthy@discussions.microsoft.com> wrote in message
>> news:B043B29C-36A8-443A-86B5-5ABA03708ED7@microsoft.com...
>> > Hi,
>> > I have found the registry setting to change the InCall volume on my
>> > windows
>> > mobile 5.0 device. i am able to change this registry programmatically.
>> > But
>> > the change in In-Call volume is happening only after warm rebooting the
>> > device.
>> >
>> > Can some me let me know how i can change the In-Call volume with out
>> > warm
>> > rebooting the device?
>> >
>> > Thanks in Advance,
>> > Murthy
>>
>>
>>



Re: changing InCall volume with out warm rebooting by Murthy

Murthy
Wed Jan 30 00:31:06 CST 2008

Thanks chris for your reply.

const int WM_WININICHANGE = 0x001A;
const int HWND_BROADCAST = 0xffff;
// For Registry setting to take effect with out soft reset.
SendMessage((IntPtr)HWND_BROADCAST, WM_WININICHANGE, 0, (IntPtr)5000);

In Msdn value for WM_SETTINGCHANGE is given as below.
WM_SETTINGCHANGE = &H1A

should i try this message with some other wparam and lparam...??

Thanks in advance,
Murthy

"<ctacke/>" wrote:

> We're not.
>
> http://msdn2.microsoft.com/en-us/library/ms725497(VS.85).aspx
>
>
> --
>
> Chris Tacke, Embedded MVP
> OpenNETCF Consulting
> Giving back to the embedded community
> http://community.OpenNETCF.com
>
>
> "Murthy" <Murthy@discussions.microsoft.com> wrote in message
> news:9558CCCA-5047-49C4-ADA3-EB2EFB71CAE7@microsoft.com...
> > Hi Chris,
> > I tried posting the below message, but it had no impact.
> >
> > SendMessage((IntPtr)HWND_BROADCAST, WM_WININICHANGE, 0, (IntPtr)5000);
> >
> > Please let me know if you are talking about the same message.
> >
> > Thanks,
> > Murthy
> >
> > "<ctacke/>" wrote:
> >
> >> I'd ry broadcasting a WM_SETTING_CHANGE message after making the change
> >> and
> >> see if the shell picks it up.
> >>
> >>
> >> --
> >>
> >> Chris Tacke, Embedded MVP
> >> OpenNETCF Consulting
> >> Giving back to the embedded community
> >> http://community.OpenNETCF.com
> >>
> >>
> >> "Murthy" <Murthy@discussions.microsoft.com> wrote in message
> >> news:B043B29C-36A8-443A-86B5-5ABA03708ED7@microsoft.com...
> >> > Hi,
> >> > I have found the registry setting to change the InCall volume on my
> >> > windows
> >> > mobile 5.0 device. i am able to change this registry programmatically.
> >> > But
> >> > the change in In-Call volume is happening only after warm rebooting the
> >> > device.
> >> >
> >> > Can some me let me know how i can change the In-Call volume with out
> >> > warm
> >> > rebooting the device?
> >> >
> >> > Thanks in Advance,
> >> > Murthy
> >>
> >>
> >>
>
>
>

Re: changing InCall volume with out warm rebooting by ctacke/>

ctacke/>
Wed Jan 30 08:54:52 CST 2008

Your code is fine, if it didn't work then the control panel is using some
other mechanism to update notify the system that the volume has changed or
it's double-tasking and altering the volume itself *and* writing the reg
key. The next step I'd try is to run remote spy++ and see if any messages
are sent when you change the volume in the control panel.


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


"Murthy" <Murthy@discussions.microsoft.com> wrote in message
news:5BF9E9C7-F8CD-4307-9BB4-8210DD9DE341@microsoft.com...
> Thanks chris for your reply.
>
> const int WM_WININICHANGE = 0x001A;
> const int HWND_BROADCAST = 0xffff;
> // For Registry setting to take effect with out soft reset.
> SendMessage((IntPtr)HWND_BROADCAST, WM_WININICHANGE, 0, (IntPtr)5000);
>
> In Msdn value for WM_SETTINGCHANGE is given as below.
> WM_SETTINGCHANGE = &H1A
>
> should i try this message with some other wparam and lparam...??
>
> Thanks in advance,
> Murthy
>
> "<ctacke/>" wrote:
>
>> We're not.
>>
>> http://msdn2.microsoft.com/en-us/library/ms725497(VS.85).aspx
>>
>>
>> --
>>
>> Chris Tacke, Embedded MVP
>> OpenNETCF Consulting
>> Giving back to the embedded community
>> http://community.OpenNETCF.com
>>
>>
>> "Murthy" <Murthy@discussions.microsoft.com> wrote in message
>> news:9558CCCA-5047-49C4-ADA3-EB2EFB71CAE7@microsoft.com...
>> > Hi Chris,
>> > I tried posting the below message, but it had no impact.
>> >
>> > SendMessage((IntPtr)HWND_BROADCAST, WM_WININICHANGE, 0, (IntPtr)5000);
>> >
>> > Please let me know if you are talking about the same message.
>> >
>> > Thanks,
>> > Murthy
>> >
>> > "<ctacke/>" wrote:
>> >
>> >> I'd ry broadcasting a WM_SETTING_CHANGE message after making the
>> >> change
>> >> and
>> >> see if the shell picks it up.
>> >>
>> >>
>> >> --
>> >>
>> >> Chris Tacke, Embedded MVP
>> >> OpenNETCF Consulting
>> >> Giving back to the embedded community
>> >> http://community.OpenNETCF.com
>> >>
>> >>
>> >> "Murthy" <Murthy@discussions.microsoft.com> wrote in message
>> >> news:B043B29C-36A8-443A-86B5-5ABA03708ED7@microsoft.com...
>> >> > Hi,
>> >> > I have found the registry setting to change the InCall volume on my
>> >> > windows
>> >> > mobile 5.0 device. i am able to change this registry
>> >> > programmatically.
>> >> > But
>> >> > the change in In-Call volume is happening only after warm rebooting
>> >> > the
>> >> > device.
>> >> >
>> >> > Can some me let me know how i can change the In-Call volume with out
>> >> > warm
>> >> > rebooting the device?
>> >> >
>> >> > Thanks in Advance,
>> >> > Murthy
>> >>
>> >>
>> >>
>>
>>
>>