N
Nick
Hi there,
I'm creating a form using the NativeWindow class to process some custom
messages. Unfortunately as it's created on the main thread of the
application it doesnt recieve messages while the thread is busy. So I'm
trying to create it on a separate thread. I can do this but the only way I
can keep the thread alive is by call Application.DoEvents. I'm not sure if
this is the correct way to do this as I'm presuming it processes all
messages to all forms in the application?
Is there any way I can create a form and keep it in a separate thread?
Thanks loads in advance.
I'm creating a form using the NativeWindow class to process some custom
messages. Unfortunately as it's created on the main thread of the
application it doesnt recieve messages while the thread is busy. So I'm
trying to create it on a separate thread. I can do this but the only way I
can keep the thread alive is by call Application.DoEvents. I'm not sure if
this is the correct way to do this as I'm presuming it processes all
messages to all forms in the application?
Is there any way I can create a form and keep it in a separate thread?
Thanks loads in advance.