<?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: Sample Win32 C++ Windows Mobile 5.0 application</title>
	<atom:link href="http://ancaa.eu/mobile-dev/sample-win32-c-windows-mobile-5-0-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://ancaa.eu/windows-mobile-5/sample-win32-c-windows-mobile-5-0-application/</link>
	<description>by Anca A.</description>
	<lastBuildDate>Fri, 16 Sep 2011 16:47:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Sherif Tawfik</title>
		<link>http://ancaa.eu/windows-mobile-5/sample-win32-c-windows-mobile-5-0-application/comment-page-1/#comment-22</link>
		<dc:creator>Sherif Tawfik</dc:creator>
		<pubDate>Fri, 06 Feb 2009 10:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://aanca.com/?p=24#comment-22</guid>
		<description>Hello Anca..&lt;br/&gt;&lt;br/&gt;Sorry for bothering you, just solved the problem.&lt;br/&gt;&lt;br/&gt;Bye.</description>
		<content:encoded><![CDATA[<p>Hello Anca..</p>
<p>Sorry for bothering you, just solved the problem.</p>
<p>Bye.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sherif Tawfik</title>
		<link>http://ancaa.eu/windows-mobile-5/sample-win32-c-windows-mobile-5-0-application/comment-page-1/#comment-21</link>
		<dc:creator>Sherif Tawfik</dc:creator>
		<pubDate>Fri, 06 Feb 2009 10:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://aanca.com/?p=24#comment-21</guid>
		<description>Sorry, the code I used is the following:&lt;br/&gt;&lt;br/&gt;//////////////////////////////////&lt;br/&gt;// Retrieve the handle to the display device context.&lt;br/&gt;hdc = GetDC (hWnd);&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;// start drawing the text that will be displayed&lt;br/&gt;int bReturn;&lt;br/&gt;TCHAR szHelloStr[50];&lt;br/&gt;&lt;br/&gt;StringCchCopy(szHelloStr, 50, L&quot;Mouse clicked!&quot;);&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;// Set text color.&lt;br/&gt;SetTextColor (hdc, RGB(0,0,0));&lt;br/&gt;&lt;br/&gt;bReturn = ExtTextOut (hdc, 10 , 140, 0, NULL,&lt;br/&gt;szHelloStr, lstrlen(szHelloStr), NULL);&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;// Release the device context.&lt;br/&gt;&lt;br/&gt;ReleaseDC(hWnd, hdc);&lt;br/&gt;////////////////////////////////&lt;br/&gt;&lt;br/&gt;By the way, I used :: before each function, to use the CWnd functions.</description>
		<content:encoded><![CDATA[<p>Sorry, the code I used is the following:</p>
<p>//////////////////////////////////<br />// Retrieve the handle to the display device context.<br />hdc = GetDC (hWnd);</p>
<p>// start drawing the text that will be displayed<br />int bReturn;<br />TCHAR szHelloStr[50];</p>
<p>StringCchCopy(szHelloStr, 50, L&#8221;Mouse clicked!&#8221;);</p>
<p>// Set text color.<br />SetTextColor (hdc, RGB(0,0,0));</p>
<p>bReturn = ExtTextOut (hdc, 10 , 140, 0, NULL,<br />szHelloStr, lstrlen(szHelloStr), NULL);</p>
<p>// Release the device context.</p>
<p>ReleaseDC(hWnd, hdc);<br />////////////////////////////////</p>
<p>By the way, I used :: before each function, to use the CWnd functions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sherif Tawfik</title>
		<link>http://ancaa.eu/windows-mobile-5/sample-win32-c-windows-mobile-5-0-application/comment-page-1/#comment-20</link>
		<dc:creator>Sherif Tawfik</dc:creator>
		<pubDate>Fri, 06 Feb 2009 10:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://aanca.com/?p=24#comment-20</guid>
		<description>Hello Anca,&lt;br/&gt;&lt;br/&gt;Thanks for the nice piece of code. However, I have tried it inside my MFC WM6 application, and I am getting this error:&lt;br/&gt;&lt;br/&gt;Data Abort: Thread=97c2571c Proc=80096c70 &#039;SMSTimer.exe&#039;&lt;br/&gt;AKY=00000801 PC=0002b9e0(SMSTimer.exe+0x0001b9e0) RA=0002b9d4(SMSTimer.exe+0x0001b9d4) BVA=18152dac FSR=0000040f&lt;br/&gt;&lt;br/&gt;I look forward to your kind response..&lt;br/&gt;&lt;br/&gt;Sherif</description>
		<content:encoded><![CDATA[<p>Hello Anca,</p>
<p>Thanks for the nice piece of code. However, I have tried it inside my MFC WM6 application, and I am getting this error:</p>
<p>Data Abort: Thread=97c2571c Proc=80096c70 &#8216;SMSTimer.exe&#8217;<br />AKY=00000801 PC=0002b9e0(SMSTimer.exe+0x0001b9e0) RA=0002b9d4(SMSTimer.exe+0x0001b9d4) BVA=18152dac FSR=0000040f</p>
<p>I look forward to your kind response..</p>
<p>Sherif</p>
]]></content:encoded>
	</item>
</channel>
</rss>

