Re: How I can show the scrollbar as needed?



Thanks very much!! Igor. :)

On Apr 18, 12:44 am, "Igor Tandetnik" <itandet...@xxxxxxxx> wrote:
yuzhu.shen <yuzhu.s...@xxxxxxxxx> wrote:
I want to create an appropriate window (with or without address bar,
just like IE) in my application for this event.

http://groups.google.com/group/microsoft.public.windows.inetexplorer....

2) (Still using the scenario above: run the window.open(...) script in
my WebBrowser control and get a NewWindow3 notification)
I notice that if I create a new WebBrowser control, and pass it back
in the NewWindow3's IDispatch** parameter, this WebBrowser will have
no scrollbars (even after I ask it to navigate to another location.)

Yes, it honors parameters in window.open(), not necessarily those of the
page it loads.

How does this happen? Does the parent WebBrowser control implements
the IDocHostUIHandler::GetHostInfo() interface and set
DOCHOSTUIFLAG_SCROLL_NO?

Perhaps. I'm not sure how precisely this is implemented.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925

.



Relevant Pages

  • Re: How I can show the scrollbar as needed?
    ... my WebBrowser control and get a NewWindow3 notification) ... I notice that if I create a new WebBrowser control, ... Yes, it honors parameters in window.open, not necessarily those of the ... With sufficient thrust, pigs fly just fine. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: about webbrowser url monitor
    ... Big Smith wrote: ... How to distinguish the requests if I have two webbrowser control? ... With sufficient thrust, pigs fly just fine. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: WebBrowser control scrollbars problem
    ... Any ideea why is this behaviour? ... WebBrowser control exhibits all sorts of strange problems. ... Igor Tandetnik ... With sufficient thrust, pigs fly just fine. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: From VB6 code - run Javascript function in WebBrowser control
    ... loaded page of a webbrowser control? ... With sufficient thrust, pigs fly just fine. ... overhead. ... -- RFC 1925 ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Can i separate persistent cookies from IE?
    ... So IE and webbrowser control won't effect with each other. ... With sufficient thrust, pigs fly just fine. ... overhead. ... -- RFC 1925 ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)