<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>When changing behavior is like killing puppies</title><link>http://blogs.msdn.com/b/michkap/archive/2009/12/01/9930855.aspx</link><description>The other day, long time colleague Brian asked over on a large distribution list: 
 
 Does Windows automatically call SetThreadPreferredUILanguages(MUI_CONSOLE_FILTER, NULL, NULL) when launching a console app? If not, why not? 
 Now SetThreadPreferredUILanguages</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: When changing behavior is like killing puppies</title><link>http://blogs.msdn.com/b/michkap/archive/2009/12/01/9930855.aspx#9934120</link><pubDate>Tue, 08 Dec 2009 16:41:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9934120</guid><dc:creator>Maurits [MSFT]</dc:creator><description>&lt;p&gt;Upside of killing puppies, even really cute ones: the value of other puppies appreciates accordingly.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9934120" width="1" height="1"&gt;</description></item><item><title>re: When changing behavior is like killing puppies</title><link>http://blogs.msdn.com/b/michkap/archive/2009/12/01/9930855.aspx#9931776</link><pubDate>Thu, 03 Dec 2009 03:59:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9931776</guid><dc:creator>Ranjit Iyer</dc:creator><description>&lt;p&gt;Hi Micheal,&lt;/p&gt;
&lt;p&gt;Perhaps my question does not directly relate to the blog post (if so then I apologize). &lt;/p&gt;
&lt;p&gt;I wanted to understand in brief, the significance of calling functions like SetThreadUILanguage and SetThreadPreferredUILanguages in an application. Will calling these functions cause the &amp;quot;OK&amp;quot; and &amp;quot;CANCEL&amp;quot; captions on the MessageBox function to automatically show in the set language? Are these functions mainly for Windows UI captions to display in the language set on the thread?&lt;/p&gt;
&lt;p&gt;Your guidance is appreciated.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ranjit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9931776" width="1" height="1"&gt;</description></item></channel></rss>