I had those already basic situation -

Tight Rendering loop with DoEvents to a control in a Modal form and there
are no close events
Tight Rendering loop with DoEvents to a control running as a seperate thread
to a Modal form is fine but dodgy .
Tight rendering loop to a non modal form is fine.

Ben


> -----Original Message-----
> From: Moderated discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED]]On Behalf Of Craig Andera
> Sent: Wednesday, 22 January 2003 1:41 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [ADVANCED-DOTNET] Controls / DirectX and threading
>
>
> > Rendering when the screen redrew or was invalidated worked fine ( as a
> > Dialog) its just when you had a loop to render as fast as
> > possible that it
> > would not trigger close events.
>
> Sounds like we're in violent agreement. :) So you just added an
> Application.DoEvents call in the render loop to service any pending
> messages and got rid of the extra threads, right?
>
> 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