<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.xna.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>General</title><link>http://forums.xna.com/forums/50.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 0.0)</generator><item><title>Re: Redraw a window while it's moving</title><link>http://forums.xna.com/forums/thread/193287.aspx</link><pubDate>Thu, 25 Jun 2009 13:27:23 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:193287</guid><dc:creator>zodX</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/193287.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=50&amp;PostID=193287</wfw:commentRss><description>Yes, I know what you are meaning.&lt;br /&gt;
&lt;br /&gt;
its very difficult to get this, ive tried it.&lt;br /&gt;
Sometimes it stopped my drawings, i wondered.&lt;br /&gt;
&lt;br /&gt;
Ive tried it directly in the message routine with another render() call, so you got two ones.&lt;br /&gt;
But that doubles (theoretical) the rendering for one frame so you have manage it by yourself somehow to get only one render() call per frame.&lt;br /&gt;
&lt;br /&gt;
That means take the one render_call on move&lt;br /&gt;
the other render call on paint&lt;br /&gt;
and look which of both is more important&lt;br /&gt;
&lt;br /&gt;
experiment with update_window() for a extra call or something... ( or region or,....)&lt;br /&gt;
Kommt sich aber in die Quere und produziert Mist.&lt;br /&gt;
&lt;br /&gt;
I got a Super Idea ! Just take Direct2D ! Its shorter to handle the parameters and it has what you mean !!!-&amp;gt; A clear output on movements and resizings !!!&lt;br /&gt;
Direct2D is a wonder !!!!</description></item><item><title>Re: Redraw a window while it's moving</title><link>http://forums.xna.com/forums/thread/177368.aspx</link><pubDate>Wed, 13 May 2009 11:08:43 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:177368</guid><dc:creator>DZ4</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/177368.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=50&amp;PostID=177368</wfw:commentRss><description>up ?&lt;br /&gt;</description></item><item><title>Re: Redraw a window while it's moving</title><link>http://forums.xna.com/forums/thread/168703.aspx</link><pubDate>Fri, 24 Apr 2009 09:37:07 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:168703</guid><dc:creator>Kyle W</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/168703.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=50&amp;PostID=168703</wfw:commentRss><description>Sorry, but I&amp;#39;m not a C++ developer. Maybe someone else will respond.</description></item><item><title>Re: Redraw a window while it's moving</title><link>http://forums.xna.com/forums/thread/168697.aspx</link><pubDate>Fri, 24 Apr 2009 09:12:21 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:168697</guid><dc:creator>DZ4</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/168697.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=50&amp;PostID=168697</wfw:commentRss><description>Hi.&lt;br /&gt;
Thanks, but I&amp;#39;m using direct Win32 API, not MFC. Any other idea or equivalent ?</description></item><item><title>Re: Redraw a window while it's moving</title><link>http://forums.xna.com/forums/thread/168211.aspx</link><pubDate>Thu, 23 Apr 2009 11:09:39 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:168211</guid><dc:creator>Kyle W</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/168211.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=50&amp;PostID=168211</wfw:commentRss><description>The only thought I have is that you could try redrawing the window inside of the Form.OnMove or Form.OnLocationChanged methods. I&amp;#39;ve never tried it so if it doesn&amp;#39;t work, I don&amp;#39;t have any other ideas.</description></item><item><title>Redraw a window while it's moving</title><link>http://forums.xna.com/forums/thread/168193.aspx</link><pubDate>Thu, 23 Apr 2009 09:58:22 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:168193</guid><dc:creator>DZ4</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/168193.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=50&amp;PostID=168193</wfw:commentRss><description>Hi.&lt;br /&gt;
&lt;br /&gt;
my application has two threads. Thread A has the game engine, Thread B the rendering with DX10.&lt;br /&gt;
The main window is created by thread B, and so the message-pump (PeekMessage &amp;amp; Co). &lt;br /&gt;
&lt;br /&gt;
When the user move this window with the mouse, the rendering is freezed (the thread B seems to be blocked somewhere) while thread A could continue his work.&lt;br /&gt;
Is there any way to prevent this behavior and still have rendering during the move ? (The DirectX samples don&amp;#39;t have this features, but some games (World of Warcraft for example) do - so I think there is way to override the default behavior, but how ?)&lt;br /&gt;
&lt;br /&gt;
Thanks...</description></item></channel></rss>