hResult = IUnknown_QueryService(pUnkSite, SID_SShellBrowser, IID_PPV_ARG(IBrowserService, &browserService));
if (SUCCEEDED(hResult))
{
- if (SUCCEEDED(hResult))
- hResult = AtlAdvise(browserService, static_cast<IDispatch *>(this), DIID_DWebBrowserEvents, &fAdviseCookie);
+ hResult = AtlAdvise(browserService, static_cast<IDispatch *>(this), DIID_DWebBrowserEvents, &fAdviseCookie);
}
return hResult;
if (notifyHeader->hwndFrom == fGoButton)
{
fAddressEditBox->ParseNow(0);
+ fAddressEditBox->Execute(0);
}
return 0;
}