Re: Scrollbars in Webbrowser Control
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Mon, 8 May 2006 08:00:50 -0400
"Ivan Debono" <ivanmdeb@xxxxxxxxxxx> wrote in message
news:uposGgmcGHA.5048@xxxxxxxxxxxxxxxxxxxx
I've got pages that are longer than the control itself and I would
expect a scrollbar to be displayed. But it's not!! Is there a
property I have set ?
You could have implemented IDocHostUIHandler and returned
DOCHOSTUIFLAG_SCROLL_NO flag from GetHostInfo. That's not something one
can do by accident without realizing it though.
Are you using ATL, by any chance? In ATL, use ModifyStyle to add
WS_HSCROLL | WS_VSCROLL styles to the hosting window right after
creation. The hosting window checks these styles to decide whether to
set DOCHOSTUIFLAG_SCROLL_NO on the hosted control.
--
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
.
- Follow-Ups:
- Re: Scrollbars in Webbrowser Control
- From: Ivan Debono
- Re: Scrollbars in Webbrowser Control
- From: Ivan Debono
- Re: Scrollbars in Webbrowser Control
- References:
- Scrollbars in Webbrowser Control
- From: Ivan Debono
- Scrollbars in Webbrowser Control
- Prev by Date: Problem using mshtml.dll
- Next by Date: Re: Saving the content of the webbrowser control
- Previous by thread: Scrollbars in Webbrowser Control
- Next by thread: Re: Scrollbars in Webbrowser Control
- Index(es):
Relevant Pages
|
|