Boris Zbarsky wrote:
Niky Williams wrote:
Okay, that makes sense. Here is my problem though, one of my
functions is "SetElementInnerHTML (nsString sID, nsString sValue)" and
it doesn't know the ID of the element until I call that function...
What object does the function live on? Should _that_ object be proxied
onto the other thread?
-Boris
Boris,
I think I've come up with a solution...gave up on proxied objects, was
giving me a headache. I created user defined windows messages...when
the events happen in the foreign thread, I post that user message to the
HWND/Widget...then in the event loop I act on that posted event. That
has gotten rid of all those assertions and it seems to be working fine.
I'm not sure if this is "kosher", but I don't think my project is
"normal" either. Thanks again for your time, if you have any other
pointers please feel free to expound on them :). BTW, to answer your
question, that function is a method of my Chrome.
Niky Williams
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding