Click here to get back home

Removing or hiding Notifications in WM6

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Removing or hiding Notifications in WM6 B-Dawg 09-04-2007
Get Chitika Premium
Posted by B-Dawg on September 4, 2007, 5:58 am
Please log in for more thread options
I am writing an application in C# which opens a GPRS cellular connection and
sends some data to a server. Sometimes the phone is out of range and a
notification box pops up saying that it is unable to connect. This box
doesn't dissappear unless I click on the Dismiss button and so it stays there
on the screen in front of everything.

I also get a notification box appearing when it tries to connect but this
dissappears on its own accord after a few seconds so I'm not so worried about
this one.

Is there a way to either prevent the notification from appearing in the
first place or forcing it behind my application so that the user doesn't see
it?

I have already added eventhandlers to make the form be at the front and
removed the menu bar but that doesn't do the trick.

Is there a registry setting perhaps to stop these notifications?

Thank you for your time,

Bevan


Posted by Peter Foot [MVP] on September 4, 2007, 6:27 am
Please log in for more thread options
I assume you are using Connection Manager? If so you need to add the flag
CONNMGR_FLAG_NO_ERROR_MSGS to your CONNMGR_CONNECTIONINFO structure. This
flag is supported on WM5.0 and later and wont display these dialogs to the
user.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

>I am writing an application in C# which opens a GPRS cellular connection
>and
> sends some data to a server. Sometimes the phone is out of range and a
> notification box pops up saying that it is unable to connect. This box
> doesn't dissappear unless I click on the Dismiss button and so it stays
> there
> on the screen in front of everything.
>
> I also get a notification box appearing when it tries to connect but this
> dissappears on its own accord after a few seconds so I'm not so worried
> about
> this one.
>
> Is there a way to either prevent the notification from appearing in the
> first place or forcing it behind my application so that the user doesn't
> see
> it?
>
> I have already added eventhandlers to make the form be at the front and
> removed the menu bar but that doesn't do the trick.
>
> Is there a registry setting perhaps to stop these notifications?
>
> Thank you for your time,
>
> Bevan
>


Similar ThreadsPosted
Removing unwanted stuff and other issues. October 6, 2005, 5:59 pm
removing an application leaves a "blank" icon in the Home screen December 16, 2006, 9:14 pm
hiding the wireless connecting dialog box August 25, 2006, 9:26 am
Hiding IME composition/candidate windows May 29, 2007, 9:42 am
How to receive WM_HOTKEYS for softkeys after hiding menu bar June 27, 2006, 1:41 pm
"Bubble" notifications May 4, 2007, 3:56 am
Notifications on smartphone June 26, 2007, 6:40 am
Block or Edit Notifications January 15, 2007, 12:52 pm
Problem with power notifications June 4, 2008, 2:09 am
State and Notifications Broker Incomplete? February 20, 2006, 1:40 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap