Originally posted by: Yung-Ming Kuo
Dear friends:
I want to intercept and get the contents(including text and image) of homepage from Web server ,before it shows the IE browser(version 5.0).But it is not through proxy.
And i have ability to prevent HTML document from showing the browser.
Could you offer some suggestion or source code sample to solve my question?
Thank you ^_^
email:ymkuo@neural.ee.ncku.edu.tw
by Kuo
Originally posted by: Vivek Pandey
Hi,
I want to implement Save As option as given in IE5. Besides the HTML file saving, IE provide some more features like saving web page as "Web Page, Complete", "Web Archive for email" and text format.
Any help would be appreciated.
Thanks,
Vivek.
Originally posted by: Malu
Hi!
I want to develop my own IE with the WebBrowser control, to insert my own ActiveX documents, but I don't
know how can I see my document's menu in the browser control.
Originally posted by: Peter
Yes, the menu can be extended... but what can you do if you want
// Subclassing the webbrowser control
// This must be done every time the control
Cheers,
Hi Folks....
to remove it to show another menu or pop up a dialog?
// - modify right mouse button behaviour
WNDPROC OldProc;
LRESULT CALLBACK NewProc (HWND hwnd, UINT msg, WPARAM wp, LPARAM lp)
{
switch (msg)
{
case WM_RBUTTONDOWN:
//
// Do something without displaying
// the default menu.
//
return 0;
}
return CallWindowProc (OldProc, hwnd, msg, wp, lp);
}
// loads a new page 'cause the HTML-Window
// is always??? a new one....
// Please Note: m_browser is the webbrowser control.
void CBrowseDlg::OnNavigateComplete2 (LPDISPATCH pDisp, VARIANT FAR* URL)
{
HWND hwnd = m_browser.GetSafeHwnd();
HWND ch1 = ::GetWindow (hwnd, GW_CHILD);
HWND ch2 = ::GetWindow (ch1, GW_CHILD);
if (GetWindowLong (ch2, GWL_WNDPROC) != (LONG)NewProc)
OldProc = (WNDPROC)SetWindowLong (ch2, GWL_WNDPROC, (LONG)NewProc);
}
-> Peter