如何截取webbrowser在onnewwindow2前要打开的页面来判断跳转到哪个webbrowser中去 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiNetwork/html/delphi_20061128131746240.html
如题。急!!!
procedure TfrmRepCenter.wbBeforeNavigate2(Sender: TObject;
const pDisp: IDispatch; var URL, Flags, TargetFrameName, PostData,
Headers: OleVariant; var Cancel: WordBool);
var
sURL: string;
begin
sURL:=ExtractFileName(String(URL));//获得
end;
end;