Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / Windows Mobile / July 2008

Tip: Looking for answers? Try searching our database.

Opening Alarm and notifications

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sri - 25 Jun 2008 13:36 GMT
I have 2 queries in Windows mobile.
1. Is there any API available to open the sound and notifications settings
with "Notifications" tab as the selected tab? By default it opens with
"Sounds" tab as the selected tab. Or is it possible to open the
"Notifications" separately in a window?

2. Is there any API available to open the "Clock & Alarm" settings with
"Alarm" tab as the selected tab? By default it opens with "Time" tab as the
selected tab. Or is it possible to open the "Alarm" separately in a window?

Please let me know
Peter Foot - 25 Jun 2008 16:48 GMT
This article shows how to open specific pages, the identifiers are still
valid here but there have been some newer pages and applets added since.
http://www.pocketpcdn.com/articles/controlpanel.html

Peter

Signature

Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - Software Solutions for a Mobile World
In The Hand Ltd - .NET Components for Mobility

>I have 2 queries in Windows mobile.
> 1. Is there any API available to open the sound and notifications settings
[quoted text clipped - 9 lines]
>
> Please let me know
Sri - 26 Jun 2008 11:33 GMT
Thanks a lot!
I tried CreateProcess, with ctlpnl.exe with the corresponding parameters.
For most of the settings it worked. But I am still not able to open "Alarm".
I am using WM 6.1 device. I am using 16 and 1 as command line parameter for
ctlpnl.exe. Any idea why Alarm is not working?

Thanks
Sri

> This article shows how to open specific pages, the identifiers are still
> valid here but there have been some newer pages and applets added since.
[quoted text clipped - 15 lines]
> >
> > Please let me know
ssn - 30 Jul 2008 05:09 GMT
The appstate also needs to be updated in binary. To get the binary value of
11, 18 has to be updated.
Following code should
RAppRunKey = RAppRunKey.OpenSubKey(@"Software\Microsoft\Clock", true);
if (RAppRunKey != null)
{
RAppRunKey.SetValue(@"AppState", new byte[] { 18 }, RegistryValueKind.Binary);
}
ProcessInfo pi = new ProcessInfo();
bool result = CreateProcess("ctlpnl.exe", "cplmain.cpl,16,1", IntPtr.Zero,
IntPtr.Zero, false, 0, IntPtr.Zero, IntPtr.Zero, null, pi);

> Thanks a lot!
> I tried CreateProcess, with ctlpnl.exe with the corresponding parameters.
[quoted text clipped - 24 lines]
> > >
> > > Please let me know
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.