应该是老问题了吧
AxCtrls.pas
function TActiveXControl.SetObjectRects(const rcPosRect: TRect
const rcClipRect: TRect): HResult;
var
WinRect: TRect;
begin
try
IntersectRect(WinRect, rcPosRect, rcClipRect);
FWinControl.BoundsRect := WinRect;
Result := S_OK;
the_end:
except
Result := HandleException;
end;
end;
修改为:
function TActiveXControl.SetObjectRects(const rcPosRect: TRect
const rcClipRect: TRect): HResult;
begin
try
FWinControl.BoundsRect := rcPosRect
// <--- "fix"
Result := S_OK;
except
Result := HandleException;
end;
end;
相关站点见:
http://www.wideman-one.com/gw/tech/Delphi/dax/afxclipbug.htm
这是NEWSGROUPS.BORLAND.COM里很早就讨论过的问题了