以下是相关代码片断,只有一句代码(windows7 ultimate x86 IE11):
if (processName.ToLower().EndsWith("iexplore.exe")) { SetWindowPos(new IntPtr(hwnd), 0, 0, 0, int.Parse(txtWidth.Text), int.Parse(txtHeight.Text), SWP_ASYNCWINDOWPOS); }