Vijay wrote:
Hi,
I want to have a method in the mfcembed test which will get executed on
"onload" event. i.e. from DocumentViewerImpl.LoadComplete().
Can anyone suggest how to do that.

Vijay



Hmm...I hope I'm understand what you are saying, if you look at the BrowserImplWebPrgrsLstnr.cpp inside the CBrowserImpl::OnStateChange (), there is the line

if ((progressStateFlags & STATE_STOP) && (progressStateFlags & STATE_IS_DOCUMENT))
{
        //Code Here
}

This is where the document has finished loading. You can probably implement something in there to call what you need.

Niky
_______________________________________________
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to