<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Custom soft keys for Notifications</title>
	<atom:link href="http://www.christec.co.nz/blog/archives/150/feed" rel="self" type="application/rss+xml" />
	<link>http://www.christec.co.nz/blog/archives/150</link>
	<description>Development for a mobile world - Making a quality platform one application at a time</description>
	<lastBuildDate>Fri, 12 Mar 2010 05:38:21 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: MathiasF</title>
		<link>http://www.christec.co.nz/blog/archives/150/comment-page-2#comment-38517</link>
		<dc:creator>MathiasF</dc:creator>
		<pubDate>Tue, 09 Mar 2010 13:42:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.christec.co.nz/blog/archives/150#comment-38517</guid>
		<description>Hi!
I need my notification to make the device vibrate and make a sound until the user gives a response.
Is there a way to do that with your code?
Thanks!</description>
		<content:encoded><![CDATA[<p>Hi!<br />
I need my notification to make the device vibrate and make a sound until the user gives a response.<br />
Is there a way to do that with your code?<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jis</title>
		<link>http://www.christec.co.nz/blog/archives/150/comment-page-2#comment-37888</link>
		<dc:creator>jis</dc:creator>
		<pubDate>Tue, 23 Feb 2010 13:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.christec.co.nz/blog/archives/150#comment-37888</guid>
		<description>Hi Cristopher,

This article is very helpful. I have a doubt, hope you can help me out. I need to show the notification from a thread running as a service in WM. It throws an error : &#039;Control.Invoke must be used to interact with controls created on a separate thread.&#039; But Notification class is not &#039;Control&#039;, it is a Component. Is there any way to show up the notification from a background thread from an app which doesnt have a UI form.

Thanks &amp; Regards,
Jis.</description>
		<content:encoded><![CDATA[<p>Hi Cristopher,</p>
<p>This article is very helpful. I have a doubt, hope you can help me out. I need to show the notification from a thread running as a service in WM. It throws an error : &#8216;Control.Invoke must be used to interact with controls created on a separate thread.&#8217; But Notification class is not &#8216;Control&#8217;, it is a Component. Is there any way to show up the notification from a background thread from an app which doesnt have a UI form.</p>
<p>Thanks &amp; Regards,<br />
Jis.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthias</title>
		<link>http://www.christec.co.nz/blog/archives/150/comment-page-2#comment-37576</link>
		<dc:creator>Matthias</dc:creator>
		<pubDate>Wed, 17 Feb 2010 18:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.christec.co.nz/blog/archives/150#comment-37576</guid>
		<description>Hi.
This class is just great. Thank you very much.
I have only one small problem. When I click &quot;Dismiss&quot; the NotificationSoftKey EventHandler is called.
In the function I need to identify which notification was dismissed (the text in the notification or an index....).
Is there a way to identify that in the Eventhandler function?
Thank you very much in advance.
Matthias</description>
		<content:encoded><![CDATA[<p>Hi.<br />
This class is just great. Thank you very much.<br />
I have only one small problem. When I click &#8220;Dismiss&#8221; the NotificationSoftKey EventHandler is called.<br />
In the function I need to identify which notification was dismissed (the text in the notification or an index&#8230;.).<br />
Is there a way to identify that in the Eventhandler function?<br />
Thank you very much in advance.<br />
Matthias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.christec.co.nz/blog/archives/150/comment-page-2#comment-36867</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 01 Feb 2010 20:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.christec.co.nz/blog/archives/150#comment-36867</guid>
		<description>Hi Chris,
Using your Notificationwithsoftkeys and running into an issue (Dev environment = VS 2008 and deploying to Windows Mobile 6

NotificationWithSoftKeys n = new NotificationWithSoftKeys();
            n.Caption = &quot;Load Info&quot;;
            n.Text = information;
            n.Critical = true;
            n.Visible = true;
            n.InitialDuration = 5;
            n.Icon = Properties.Resources.CAR4;
            n.LeftSoftKey = new NotificationSoftKey(SoftKeyType.Dismiss, &quot;Close&quot;);

When I run it in the application, the messages appear fine, but when I click the left key, I get an error saying &quot;KeyNotFoundException&quot;.  Any thoughts on what might cause that?</description>
		<content:encoded><![CDATA[<p>Hi Chris,<br />
Using your Notificationwithsoftkeys and running into an issue (Dev environment = VS 2008 and deploying to Windows Mobile 6</p>
<p>NotificationWithSoftKeys n = new NotificationWithSoftKeys();<br />
            n.Caption = &#8220;Load Info&#8221;;<br />
            n.Text = information;<br />
            n.Critical = true;<br />
            n.Visible = true;<br />
            n.InitialDuration = 5;<br />
            n.Icon = Properties.Resources.CAR4;<br />
            n.LeftSoftKey = new NotificationSoftKey(SoftKeyType.Dismiss, &#8220;Close&#8221;);</p>
<p>When I run it in the application, the messages appear fine, but when I click the left key, I get an error saying &#8220;KeyNotFoundException&#8221;.  Any thoughts on what might cause that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AOEN</title>
		<link>http://www.christec.co.nz/blog/archives/150/comment-page-2#comment-33284</link>
		<dc:creator>AOEN</dc:creator>
		<pubDate>Thu, 19 Nov 2009 13:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.christec.co.nz/blog/archives/150#comment-33284</guid>
		<description>We have a application which consists of N modules whenever a module is loaded it will load the module related menu items in left soft key.

I have a serious issue when ever the notification dispalys on a window, upon dismiss it will remove the existing left softkey menu items. how can i maintain the state of the already existing menu items.</description>
		<content:encoded><![CDATA[<p>We have a application which consists of N modules whenever a module is loaded it will load the module related menu items in left soft key.</p>
<p>I have a serious issue when ever the notification dispalys on a window, upon dismiss it will remove the existing left softkey menu items. how can i maintain the state of the already existing menu items.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ed</title>
		<link>http://www.christec.co.nz/blog/archives/150/comment-page-2#comment-33223</link>
		<dc:creator>ed</dc:creator>
		<pubDate>Wed, 18 Nov 2009 00:01:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.christec.co.nz/blog/archives/150#comment-33223</guid>
		<description>I am trying to use your code in a project but notification.dispose is not clearing up the notification. In fact I have made a dll file of the class and then referenced it.</description>
		<content:encoded><![CDATA[<p>I am trying to use your code in a project but notification.dispose is not clearing up the notification. In fact I have made a dll file of the class and then referenced it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikhail Diatchenko</title>
		<link>http://www.christec.co.nz/blog/archives/150/comment-page-2#comment-33065</link>
		<dc:creator>Mikhail Diatchenko</dc:creator>
		<pubDate>Fri, 13 Nov 2009 07:11:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.christec.co.nz/blog/archives/150#comment-33065</guid>
		<description>Thanks, Christopher, for this code.
I&#039;m having some problems though:
None of the button events are fired. I&#039;m running your code the VS2005 on a Windows Mobile 6 Classic  emulator. Here the code:
                _notification = new NotificationWithSoftKeys();
                _notification.Caption = &quot;Error&quot;;
                _notification.Text = &quot;A message&quot;;
                _notification.LeftSoftKey = new NotificationSoftKey(SoftKeyType.StayOpen, &quot;Review&quot;);
                _notification.RightSoftKey = new NotificationSoftKey(SoftKeyType.Dismiss, &quot;Dismiss&quot;);
                _notification.BalloonChanged += new Microsoft.WindowsCE.Forms.BalloonChangedEventHandler(notification_BalloonChanged);
                _notification.LeftSoftKeyClick += new EventHandler(notification_Sync_LeftSoftKeyClick);
                _notification.RightSoftKeyClick += new EventHandler(notification_Sync_RightSoftKeyClick);
                _notification.InitialDuration = 60;
                _notification.Visible = true;

Anything i&#039;m doing wrong?</description>
		<content:encoded><![CDATA[<p>Thanks, Christopher, for this code.<br />
I&#8217;m having some problems though:<br />
None of the button events are fired. I&#8217;m running your code the VS2005 on a Windows Mobile 6 Classic  emulator. Here the code:<br />
                _notification = new NotificationWithSoftKeys();<br />
                _notification.Caption = &#8220;Error&#8221;;<br />
                _notification.Text = &#8220;A message&#8221;;<br />
                _notification.LeftSoftKey = new NotificationSoftKey(SoftKeyType.StayOpen, &#8220;Review&#8221;);<br />
                _notification.RightSoftKey = new NotificationSoftKey(SoftKeyType.Dismiss, &#8220;Dismiss&#8221;);<br />
                _notification.BalloonChanged += new Microsoft.WindowsCE.Forms.BalloonChangedEventHandler(notification_BalloonChanged);<br />
                _notification.LeftSoftKeyClick += new EventHandler(notification_Sync_LeftSoftKeyClick);<br />
                _notification.RightSoftKeyClick += new EventHandler(notification_Sync_RightSoftKeyClick);<br />
                _notification.InitialDuration = 60;<br />
                _notification.Visible = true;</p>
<p>Anything i&#8217;m doing wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Fairbairn</title>
		<link>http://www.christec.co.nz/blog/archives/150/comment-page-2#comment-31621</link>
		<dc:creator>Christopher Fairbairn</dc:creator>
		<pubDate>Mon, 12 Oct 2009 10:33:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.christec.co.nz/blog/archives/150#comment-31621</guid>
		<description>Hi Juan,

No there&#039;s no problem with using this code within your application. In fact that&#039;s the very reason I decided to start blogging :-)

It&#039;s not so easy to find, but unless explicitly mentioned all of my code samples and blog posts here fall under a license I&#039;ve posted at the bottom of &lt;a href=&quot;http://www.christec.co.nz/blog/projects&quot; rel=&quot;nofollow&quot;&gt;http://www.christec.co.nz/blog/projects&lt;/a&gt;. This license should be fairly compatible with the desires of most people. If it doesn&#039;t suit, contact me and I&#039;m sure we can work something out.</description>
		<content:encoded><![CDATA[<p>Hi Juan,</p>
<p>No there&#8217;s no problem with using this code within your application. In fact that&#8217;s the very reason I decided to start blogging :-)</p>
<p>It&#8217;s not so easy to find, but unless explicitly mentioned all of my code samples and blog posts here fall under a license I&#8217;ve posted at the bottom of <a href="http://www.christec.co.nz/blog/projects" rel="nofollow">http://www.christec.co.nz/blog/projects</a>. This license should be fairly compatible with the desires of most people. If it doesn&#8217;t suit, contact me and I&#8217;m sure we can work something out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan</title>
		<link>http://www.christec.co.nz/blog/archives/150/comment-page-1#comment-31491</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Thu, 08 Oct 2009 15:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.christec.co.nz/blog/archives/150#comment-31491</guid>
		<description>Hi!

We wanted to use this code in our application MoBots (www.mobots.org).

Would there be any problem to use it as is in our application?

Thanks in advance,
  Juan</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>We wanted to use this code in our application MoBots (www.mobots.org).</p>
<p>Would there be any problem to use it as is in our application?</p>
<p>Thanks in advance,<br />
  Juan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JRock</title>
		<link>http://www.christec.co.nz/blog/archives/150/comment-page-1#comment-30162</link>
		<dc:creator>JRock</dc:creator>
		<pubDate>Thu, 03 Sep 2009 12:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.christec.co.nz/blog/archives/150#comment-30162</guid>
		<description>you, sir, are the man.</description>
		<content:encoded><![CDATA[<p>you, sir, are the man.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
