Originally posted by: karthi_dac2000
hi..
Is it possible to change the color of the status bar of the Web browser?
Originally posted by: Steve Stone
I want to scroll the view to the bottom of the html page.
ReplyOriginally posted by: Boscowall
Anyone know how to make window.open pass on the cookie to the new window? we have some popups in our app that embeds IE, but it never has the same cookie as the parent window. Any help would be nice...
Hello, Does anyone solve this problem? I would be interesting by the solution.. Thanks
ReplyOriginally posted by: IUnknown
; )
Originally posted by: adam
I only put the section of code that actually creates the WebBrowser here, but feel free to email me for the whole thing. The only thing i can't figure out is how to do an event sink without MFC and ATL etc. Please email me or post on how to do that.
// note, site is a derrived class from IOleClientSite and IOleInPlaceSite
// and storage is a derrived class from IStorage
IOleObject* mpWebObject;
OleCreate(CLSID_WebBrowser,IID_IOleObject,OLERENDER_DRAW,0,&site,&storage,(void**)&mpWebObject);
mpWebObject->SetHostNames(L"Web Host",L"Web View");
RECT rect;
GetClientRect(hwnd,&rect);
mpWebObject->DoVerb(OLEIVERB_SHOW,NULL,&site,-1,hwnd,&rect);
IWebBrowser2* iBrowser;
mpWebObject->QueryInterface(IID_IWebBrowser2,(void**)&iBrowser);
IUnknown *pUnk;
sink->QueryInterface(IID_IUnknown, (void**)&pUnk);
Sink(mpWebObject, pUnk);
VARIANT vURL;
vURL.vt = VT_BSTR;
vURL.bstrVal = SysAllocString(L"www.yahoo.com");
VARIANT ve1, ve2, ve3, ve4;
ve1.vt = VT_EMPTY;
ve2.vt = VT_EMPTY;
ve3.vt = VT_EMPTY;
ve4.vt = VT_EMPTY;
iBrowser->put_Left(0);
iBrowser->put_Top(0);
iBrowser->put_Width(rect.right);
iBrowser->put_Height(rect.bottom);
iBrowser->Navigate2(&vURL, &ve1, &ve2, &ve3, &ve4);
VariantClear(&vURL);
iBrowser->Release();
ReplyOriginally posted by: adam
How do you create a WebBrowser control in a straight Win32 API created window without any wrapper classes, ATL, visual editing, or any of that, just straight ActiveX and COM? I've been trying to figure out how to do this for a couple of weeks now and haven't had any success. Please help.
Thank you,
adam
Originally posted by: Bill G.
I'm fairly new to Visual C++ and I'm having trouble accessing an HTML file that's a resource. I don't have any problem accessing websites using the following code:
m_browser.Navigate("www.yahoo.com", NULL, NULL, NULL, NULL);
I have imported an HTML file as a resource, but I can't figure out how to display it in the WebBrowser control. Can anyone help?
Thanks,
Bill G.
Originally posted by: Blake Caldwell
i'm tryin to have an html window in my dialog. the problem is, i dont want the user to see the transition between the two pages.
but, it's very important that the download be able to log a hit on a page...cause i want this to be able to have an ad from some company, where the download logs that the user has seen the banner.
Thanks.
email me:
blake@pluginbox.com
Blake Caldwell
student, MFC programmer
Originally posted by: Manfred Hackstock
it is possible to bind a CWebbrowser control to a IP address which I get from a RAS connection.
Thanks in advance
Manfred hackstock
Originally posted by: Carl Vachon
I would like tou Intercept Left Mouse Click for override Browse File Select Dialog...
Can you help me PLZ..
Thanks
Carl Vachon