• Advertisement
Sign in to follow this  

XNA - How to separate rendering from the message loop thread?

This topic is 3678 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I don't know if this is even possible but, I have an XNA windows game that runs in a window (not a fullscreen window), and the behavior that I would like is that, when I click the title bar with the mouse, I would like the game to keep rendering/playing. As is, when clicking the mouse down on the title bar, the Update and Draw functions are no longer called, halting the game in it's tracks. Is there a way to put update/draw in a separate thread than the message loop? Or is there another way this can be accomplished? Or is this something beyond XNA entirely? Seems like it should be possible since in an online game, allowing everything to stop for some time could result in several issues, including loss of connection. Sorry if this has been answered before. I couldn't find a similar post via search. Thanks

Share this post


Link to post
Share on other sites
Advertisement
You couldn't find an answer because this is a DirectX forum, and XNA Game Studio is a different product. I'd suggest that you take a look at the XNA Forums at Microsoft.

Share this post


Link to post
Share on other sites
I realize I should post in Microsoft's Forums. Guess that Sticky titled "XNA - NeHe style (Projects 1 - 10) Source Code" (written by moderator JWalsh) doesn't belong in this forum either. Thanks anyway.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement