1,593
社区成员
发帖
与我相关
我的任务
分享
IE.Visible := False;
//设置坐标
IE.Left := 0;
IE.Top := 0;
//去除标题栏
SetWindowLong(IE.HWnd, GWL_STYLE, GetWindowLong(IE.HWnd, GWL_STYLE) and
not WS_CAPTION);
//重画
SetWindowPos(IE.HWnd, 0, 0, 0, 0, 0,SWP_NOACTIVATE or SWP_NOMOVE or SWP_NOSIZE
or SWP_NOZORDER or SWP_DRAWFRAME);
//嵌入指定窗体
Windows.SetParent(IE.Hwnd, Form1.Handle);
IE.Visible := True;