title: how to close ie8 tabs
body: <p>This code below is not closing a tab in Internet Explorer 8. If I post wm_close command to Wnd it closes Internet Explorer but I want to close the current tab not the entire 'ieframe'. Is FindWindowEX(Wnd , 0, 'Frame Tab', nil) supposed to retun a handle to ie frame? If yes why is it not closing the current tab in Internet Explorer?</p>
  
  <pre><code>var
     Wnd, WndChild : hwnd;
  begin
     Wnd := FindWindow('IEFrame', nil);
     WndChild := FindWindowEX(Wnd, 0, 'Frame Tab', nil);
     postmessage(WndChild, wm_close, 0, 0);
  end;
  </code></pre>