Actually, the rendering happens in OnPaint in the control I wrote.
Presumably this is what you're going to want, too. As others have
mentioned, even when using DirectX you must still service the message
pump. I don't know that this will help you a ton (in fact I think you're
pretty clear on it now ;), but in case anyone else is interested I
discuss it a little bit at [1]. 

[1]
http://staff.develop.com/candera/weblog/stories/2003/01/20/managedDirect
3dTheGameLoop.html

> -----Original Message-----
> From: Ben Kloosterman [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, January 20, 2003 11:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [ADVANCED-DOTNET] Controls / DirectX and threading
> 
> 
> Thanks for this , but this part of my code works well as the 
> only render I
> can see is in onpaint , is it in the Web service ? I only get 
> the problem
> when I set a tight renderring loop.
> 
> 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.
> 

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to