Question : Issue with I.E.6

Hello,
This site www. i n s s o .org doesn't display correctly on i.e.6 and I can't narrow down what the problem is. Any help would be greatly appreciated a lot.

http://browsershots.org/screenshots/5dd1bd21926dfc2143262c835f1c1f67

The Main flash object should be at the top of the page.

Thanks

Answer : Issue with I.E.6

you cannot click on a button that has no window handle by this method.

Your only solution is to simulate a mouse click on the form, knowing the coordinate of the button

Also, I don't see the need to set your handles to 0 once used.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
Procedure ClickSomewhere(WindowName, WindowCaption: PChar; X,Y:Integer);
Var
  hParent : HWND;
Begin
 hParent := FindWindow(WindowName, WindowCaption);
 if hParent<>0 Then
  Begin
   BringWindowToTop(hParent);
   Application.ProcessMessages; // not sure that is useful
   SendMessage(hParent, BM_CLICK, X,Y);
  End;
End;
Random Solutions  
 
programming4us programming4us