The reason I am doing is because I start a control on a form ( not the main form) and then render to the control it all works fine but when I start a render loop rather than a single render I cant close the form. I will have a look at the can close form bug tommorow.
So I looked at all the examples and they all started the animation loop in main after application.Run has started so I thought I would try launching the render on a different thread - this works fine except it crashes if I render while the form is resizing and the thread locks ( ok if I pause it during the reize) . Will check out your code tommorow moring. Ben > -----Original Message----- > From: Moderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED]]On Behalf Of Craig Andera > Sent: Tuesday, 21 January 2003 12:00 AM > To: [EMAIL PROTECTED] > Subject: Re: [ADVANCED-DOTNET] Controls / DirectX and threading > > > D'oh! Forgot the reference to the code: > > http://staff.develop.com/candera/intelarticle.htm > > You can read messages from the Advanced DOTNET archive, > unsubscribe from Advanced DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
