<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Discussions by KAE</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/KAE/Discussions/RSS"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 - Discussions by KAE</title>
		<link>http://channel9.msdn.com/Niners/KAE/Discussions</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Niners/KAE/Discussions</link>
	<language>en</language>
	<pubDate>Sat, 25 May 2013 22:01:19 GMT</pubDate>
	<lastBuildDate>Sat, 25 May 2013 22:01:19 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<item>
		<title>Tech Off - Strange WPF Textbox Problem</title>
		<description><![CDATA[<p><a href="http://forums.microsoft.com/msdn/showpost.aspx?postid=1104593&amp;siteid=1">http://forums.microsoft.com/msdn/showpost.aspx?postid=1104593&amp;siteid=1</a><br /><br />&quot;<span id="_ctl0_MainContent_PostFlatView"><span><span><font face="Calibri">Proper input interop with a non-WPF host (such as WinForms) requires some cooperation between the host and the WPF input system. The topic
</font><a title="http://msdn2.microsoft.com/en-us/library/aa348549.aspx" href="http://msdn2.microsoft.com/en-us/library/aa348549.aspx"><span><u><font face="Calibri">Sharing Message Loops Between Win32 and WPF
</font></u></span></a><font face="Calibri">&nbsp;in the SDK explains this well. At a minimum, you have to call ComponentDispatcher.RaiseThreadMessage() from the host’s message loop. In your setup, the easiest way to make this happen is to use code like this:</font></span></p>
<p class="MsoNormal"><span><font face="Courier New, Courier, Monospace">&nbsp;&nbsp; Window w = new Window1();</font></span></p>
<p class="MsoNormal"><span><font face="Courier New, Courier, Monospace">&nbsp;&nbsp; System.Windows.Forms.Integration.ElementHost.EnableModelessKeyboardInterop(w);</font></span></p>
<p class="MsoNormal"><span><font face="Courier New, Courier, Monospace">&nbsp;&nbsp; w.Show();</font></span></p>
<p class="MsoNormal"><span><font face="Calibri"></font></span>&nbsp;</p>
<p class="MsoNormal"><span><font face="Calibri">ElementHost.EnableModelessKeyboardInterop() essentially registers an input hook with the WinForms Application object (which normally runs the message loop) and calls ComponentDispatcher.RaiseThreadMessage().</font></span></span></span>&quot;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/257403-Strange-WPF-Textbox-Problem/1d0fda82740546e3852d9dfa0089e57c#1d0fda82740546e3852d9dfa0089e57c</link>
		<pubDate>Tue, 08 Jan 2008 12:46:20 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/257403-Strange-WPF-Textbox-Problem/1d0fda82740546e3852d9dfa0089e57c#1d0fda82740546e3852d9dfa0089e57c</guid>
		<dc:creator>Kuznetsov Andrey</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/KAE/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>