 |
|
|
|
| Author |
Message |
Murthy
Joined: 08 Aug 2007 Posts: 9
|
Posted: Mon Jan 28, 2008 3:40 am Post subject: changing InCall volume with out warm rebooting |
|
|
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
Archived from group: microsoft>public>dotnet>framework>compactframework |
|
| Back to top |
|
 |
user
Joined: 08 Aug 2007 Posts: 286
|
Posted: Mon Jan 28, 2008 1:14 pm Post subject: Re: changing InCall volume with out warm rebooting |
|
|
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" wrote in message @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 |
|
| Back to top |
|
 |
Murthy
Joined: 08 Aug 2007 Posts: 9
|
Posted: Tue Jan 29, 2008 2:40 am Post subject: Re: changing InCall volume with out warm rebooting |
|
|
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
"" 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" wrote in message
> @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
>
>
> |
|
| Back to top |
|
 |
user
Joined: 08 Aug 2007 Posts: 286
|
Posted: Tue Jan 29, 2008 10:40 am Post subject: Re: changing InCall volume with out warm rebooting |
|
|
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" wrote in message @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
>
> "" 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" wrote in message
>> @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
>>
>>
>> |
|
| Back to top |
|
 |
Murthy
Joined: 08 Aug 2007 Posts: 9
|
Posted: Wed Jan 30, 2008 3:31 am Post subject: Re: changing InCall volume with out warm rebooting |
|
|
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
"" 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" wrote in message
> @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
> >
> > "" 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" wrote in message
> >> @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
> >>
> >>
> >>
>
>
> |
|
| Back to top |
|
 |
user
Joined: 08 Aug 2007 Posts: 286
|
Posted: Wed Jan 30, 2008 1:54 pm Post subject: Re: changing InCall volume with out warm rebooting |
|
|
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" wrote in message @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
>
> "" 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" wrote in message
>> @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
>> >
>> > "" 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" wrote in message
>> >> @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
>> >>
>> >>
>> >>
>>
>>
>>
|
|
| Back to top |
|
 |
|
|
| Related Topics: | "Privilege not held" exception when rebooting a remote XP ma Hello all, I'm attempting to reboot a remote XP machine that my account has admin privileges of using the Shutdown() method of but I get the exception "Privilege not held". It works fine on Windows 2000. From looking at other newsgr
get volume serial number can anyone help me get this working for asp.net server control using vb ? doesn't compile, error on and vbc /t:library /r:System.dll /r:System.
Volume Shadow Copy Service Volume Shadow Copy Service error: Shadow Copy writer called routine which failed with status 0x80070422 (converted to 0x800423f4). I am not operating a server nor do I have any Removable Storage per se. The fault s
changing dll in com+ application Hello, I've inherited an application written in c#. Everything works fine at the moment. However I need to make dome changes and here is where I meet my problem. The application is referencing a dll, which is a com+ application (a SLQ server proxy). If I
Changing TIF Image Resolution I need to change the resolution of a TIF image using VB.NET. I've tried to do this using Kodak's Image Edit control with no luck. Does anyone know how to do this (change a TIF's resolution)? Thanks in advance. |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|