G
Guest
My code creates a new thread and in that thread I
call System.Windows.Forms.Application.Run() to start
an application message loop. ( I also have a message
filter added on that thread to handle incoming messages.)
Now, how do I actually send messages to the
message loop since there's no window defined on that thread?
There must be a way since the MSDN doc for Application.Run()
states: "Begins running a standard application message loop on the current
thread, without a form." I looked at the System.Messaging namespace
but I'm not even sure if MSMQ is the same thing as an Application
Message loop.
Any help appreciated.
Thanks!
Steve
call System.Windows.Forms.Application.Run() to start
an application message loop. ( I also have a message
filter added on that thread to handle incoming messages.)
Now, how do I actually send messages to the
message loop since there's no window defined on that thread?
There must be a way since the MSDN doc for Application.Run()
states: "Begins running a standard application message loop on the current
thread, without a form." I looked at the System.Messaging namespace
but I'm not even sure if MSMQ is the same thing as an Application
Message loop.
Any help appreciated.
Thanks!
Steve