Здравствуйте, tomek, Вы писали:
Look at last param of BeforeNavigate2(): VARIANT* Cancel;
If *Cancel = True,
cancel the navigation operation;( don't need pWeb2->Stop())
Then to next event, for example DownloadBegin(), make your navigation,
__variant_t vtFlags( LONG( 0 ) );
pWeb2->Navigate2(url,vtFlags,&frame,PostData,Headers);