delphi监听ie onDocumentComplete,该怎么处理

delphi监听ieonDocumentComplete我现在已经hook上ie了varshellWindows : TShellWindowsshell : IShellWin

delphi监听ie onDocumentComplete
我现在已经hook上ie了
var
  shellWindows : TShellWindows;
  shell : IShellWindows;
  x: Olevariant;
  c : IHTMLDocument2;
  mDisp : IDISPATCH;
begin
  shellWindows := TShellWindows.Create(nil);
  shellWindows.OnWindowRegistered := DShellWindowsEvents1WindowRegistered;
  shellWindows.OnWindowRevoked := DShellWindowsEvents1WindowRevoked;
  shellWindows.Connect;
end;

我想监听当页面加载完成 应该怎么触发事件,应该怎么写 谢谢