Contorl.Invoke does a PostMessage then waits on a kernel event object which the UI thread signals when it has invoked the method
Regards
Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk
Thanks for the response - sounds like a good idea. But I am not familiar
with the Reflector you mention. Could you provide a link? (Are you thinking
of Rotor?)
"Cool Guy" <(E-Mail Removed)> wrote in message
news:1gakpgp121338$.(E-Mail Removed)...
> Craig Bryant <(E-Mail Removed)> wrote:
>
>> Does anyone have any idea what I can do, in the SendMessage case, to get
>> the behaviour I am seeing using Control.Invoke()? I would rather not use
>> Control.Invoke() because it has a couple limitations relative to using
>> SendMessage() (but I may have to...)
>
> It might be rewarding to look at the code for Control.Invoke in Reflector.
[microsoft.public.dotnet.framework]