Re: WebBrowser in TAB sequence



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


.



Relevant Pages

  • Re: COM threaded problem - newbie
    ... > sure it succeeds, but I nothing else jumps out at me. ... To Brian and Igor. ... So the original code was OK? ... Igor said that he feels there may be an issue with the code not shown. ...
    (microsoft.public.win32.programmer.ole)
  • Re: Process instanses for COM local server implementation
    ... Igor, Brian, what do you think what would be the performence impact of ... calls in almost all interface functions? ...
    (microsoft.public.vc.atl)
  • Re: ATL or MFC?
    ... Patty, I thought Igor gave a very thoughtful response to all your questions. ... Brian ...
    (microsoft.public.vc.mfc)
  • Re: ATL or MFC?
    ... Patty, I thought Igor gave a very thoughtful response to all your questions. ... Brian ...
    (microsoft.public.vc.language)
  • Re: ATL or MFC?
    ... Patty, I thought Igor gave a very thoughtful response to all your questions. ... Brian ...
    (microsoft.public.vc.atl)