Re: WebBrowser border
- From: "Guest" <anonymous@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 14 Jun 2006 18:12:19 +0200
Hello Igor,
Normally, one implements IDocHostUIHandler and returns
DOCHOSTUIFLAG_NO3DBORDER flag from GetHostInfo. I don't know how any of
this works out on WinCE.
Instead of simply returning E_NOTIMPL I now fill the DOCHOSTUIINFO
structure. Here's my code:
STDMETHOD(GetHostInfo)(DOCHOSTUIINFO *pInfo)
{
pInfo->cbSize = sizeof(DOCHOSTUIINFO);
pInfo->dwFlags = DOCHOSTUIFLAG_NO3DBORDER;
pInfo->dwDoubleClick = DOCHOSTUIDBLCLK_DEFAULT;
return S_OK;
// return E_NOTIMPL;
}
For some reason this doesn't work. Altough the method is called several
times the border is still there. BTW, setting the DOCHOSTUIFLAG_SCROLL_NO
flag successfully removes the scroll bars.
Any idea? Are there other IDocHostUIHandler methods I've to implement? At
the moment all methods return E_NOTIMPL.
Also, the term "3D Border" is confusing me. The white border I want to
remove doesn't look 3D at all. Maybe there's a chance that we're speaking of
different things. Are there other borders?
Greetings
.
- Follow-Ups:
- Re: WebBrowser border
- From: Igor Tandetnik
- Re: WebBrowser border
- References:
- WebBrowser border
- From: Guest
- Re: WebBrowser border
- From: Igor Tandetnik
- WebBrowser border
- Prev by Date: Re: Need help with IHTML input button element
- Next by Date: Re: WebBrowser border
- Previous by thread: Re: WebBrowser border
- Next by thread: Re: WebBrowser border
- Index(es):