|
Howard,
> I'm looking for a method that can do like,
>
> web source: '<HTML><HEAD>...
I don't know if it'll help, but this is slightly adapted from one of Blair's
posts:
presenter := URLPresenter show.
browser := presenter view controlDispatch.
"We must wait until the browser has loaded the blank document..."
[browser readyState == READYSTATE_COMPLETE]
whileFalse: [SessionManager inputState pumpMessages].
"... and then we can stuff in the HTML"
browser document body innerHTML: '<P>hello <b>there</b>'
READYSTATE_COMPLETE is defined in the SHDocVwConstants pool. "browser" in the
above is an instance of IWebBrowser2.
-- chris
|