Re: WebBrowser in TAB sequence
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Fri, 8 Sep 2006 10:42:25 -0400
brian <brianfakemail@xxxxxxxxx> wrote:
Igor Tandetnik wrote:
http://msdn.microsoft.com/archive/en-us/samples/internet/browser/atlbrowser/default.asp
--
Igor, I used the sample you provided and based my solution on it. So,
now it is pure ATL application.
I noticed a bug: when DISPID_NEWWINDOW2 is fired, I do create new
IWebBrowser object (it is hidden and non-navigated). The interface is
returned to caller and later DISPID_ONVISIBLE is fired, but with wrong
parameter. Instead of VARIANT_TRUE (-1), TRUE (1) is used. Is it known
one?
Not to me. Most likely, I've never paid attention to it. Why does it
matter? Just treat 0 as false and any non-zero value as true, in grand C
tradition.
--
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: WebBrowser in TAB sequence
- From: brian
- Re: WebBrowser in TAB sequence
- References:
- Re: WebBrowser in TAB sequence
- From: brian
- Re: WebBrowser in TAB sequence
- Prev by Date: Re: WebBrowser in TAB sequence
- Next by Date: Re: WebBrowser in TAB sequence
- Previous by thread: Re: WebBrowser in TAB sequence
- Next by thread: Re: WebBrowser in TAB sequence
- Index(es):
Relevant Pages
|
|