<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nathan &#187; Programming</title>
	<atom:link href="http://www.nathanm.com/index.php/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nathanm.com</link>
	<description>Programming magic, glory, and juices.</description>
	<lastBuildDate>Fri, 16 Apr 2010 05:48:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>SetForegroundWindow, Bringing Window To Top</title>
		<link>http://www.nathanm.com/setforegroundwindow-bringing-window-to-top/</link>
		<comments>http://www.nathanm.com/setforegroundwindow-bringing-window-to-top/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 22:06:41 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.nathanm.com/?p=1177</guid>
		<description><![CDATA[When using SetForegroundWindow/SetActiveWindow sometimes it does not bring the window into the foreground window. There is a great article on Dr. Dobb&#8217;s Journal that explains why this happens and how you can bring your window into the foreground. HWND ForegroundWindow; HWND BringToForegroundWindow; DWORD ForegroundWindowThread; DWORD BringToForegroundThread; // Set BringToForegroundWindow ForegroundWindow = GetForegroundWindow(); ForegroundWindowThread = GetWindowThreadProcessId(ForegroundWindow, [...]]]></description>
		<wfw:commentRss>http://www.nathanm.com/setforegroundwindow-bringing-window-to-top/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ListView_GetHeader returning NULL</title>
		<link>http://www.nathanm.com/listview_getheader-returning-null/</link>
		<comments>http://www.nathanm.com/listview_getheader-returning-null/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 07:09:28 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows API]]></category>

		<guid isPermaLink="false">http://www.nathanm.com/?p=1171</guid>
		<description><![CDATA[I ran into a problem with ListView_GetHeader returning NULL for a ListView that had a header during WM_INITDIALOG. The issue ended up being that if the ListView was initially created hidden, I wasn&#8217;t able to get the header window. However, when the ListView control was created with WS_VISIBLE, it returned the header as expected. What [...]]]></description>
		<wfw:commentRss>http://www.nathanm.com/listview_getheader-returning-null/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Targeting Windows 95 in Visual Studio 2008</title>
		<link>http://www.nathanm.com/targeting-windows-95-in-visual-studio-2008/</link>
		<comments>http://www.nathanm.com/targeting-windows-95-in-visual-studio-2008/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 03:34:59 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows API]]></category>

		<guid isPermaLink="false">http://www.nathanm.com/?p=954</guid>
		<description><![CDATA[If setting up a Virtual PC image with Windows 95 on it isn&#8217;t difficult enough, I had the audacity to try and run a application built using Visual Studio 2008 on Windows 95. To those who are trying to install Windows 95 on Virtual PC 2007, it appears the Windows 95 is no longer supported [...]]]></description>
		<wfw:commentRss>http://www.nathanm.com/targeting-windows-95-in-visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shell Context Menus and Custom Buttons</title>
		<link>http://www.nathanm.com/shell-context-menus-and-custombuttons/</link>
		<comments>http://www.nathanm.com/shell-context-menus-and-custombuttons/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 07:56:13 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows API]]></category>

		<guid isPermaLink="false">http://www.nathanm.com/?p=937</guid>
		<description><![CDATA[It is not easy to get icons working on shell context menus. Each version of Windows has its own way of putting icons on context menus. I came across this great article about the proper way of setting an icon on a shell context menu. nanoant: Themed menu’s icons, a complete Vista and XP solution [...]]]></description>
		<wfw:commentRss>http://www.nathanm.com/shell-context-menus-and-custombuttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>End Of String Comparision</title>
		<link>http://www.nathanm.com/end-of-string-comparision/</link>
		<comments>http://www.nathanm.com/end-of-string-comparision/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 23:51:31 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.nathanm.com/?p=844</guid>
		<description><![CDATA[I&#8217;ve been checking for the end of a string the following ways&#8230; while (*String != '\0') or while (*String != L'\0') But have found out that it is better to use 0 instead of &#8216;\0&#8242; when looking for the end of a string. Comparing to 0 works with both ascii and unicode strings, whereas comparing [...]]]></description>
		<wfw:commentRss>http://www.nathanm.com/end-of-string-comparision/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Almost Perfect</title>
		<link>http://www.nathanm.com/almost-perfect/</link>
		<comments>http://www.nathanm.com/almost-perfect/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 07:48:01 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.nathanm.com/?p=840</guid>
		<description><![CDATA[After hearing about the book Almost Perfect from Coding Horror I decided to read it. The book is out of print and free to read online. It covers the rise and fall of the WordPerfect Corporation. Very interesting read. I enjoyed the historical aspects relating to the computer industry at the time. As pertaining to [...]]]></description>
		<wfw:commentRss>http://www.nathanm.com/almost-perfect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox IFRAME Caching</title>
		<link>http://www.nathanm.com/firefox-iframe-caching/</link>
		<comments>http://www.nathanm.com/firefox-iframe-caching/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 00:27:57 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.nathanm.com/?p=794</guid>
		<description><![CDATA[There is a great post on the internet that gives a work around for iframes that are being cached. In my situation however, it did not work. Instead I was able to achieve the same thing, causing the IFRAME to be reloaded using.. frame.contentWindow.location.replace(frame.src);]]></description>
		<wfw:commentRss>http://www.nathanm.com/firefox-iframe-caching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
