WPF中获取窗口句柄
int GEHandle = appGE.GetRenderHwnd(); //IntPtr mapPtr = new IntPtr(GEHandle); int thisHandle = new WindowInteropHelper(this).Handle.ToInt32(); SetParent(GEHandle, thisHandle);
int GEHandle = appGE.GetRenderHwnd(); //IntPtr mapPtr = new IntPtr(GEHandle); int thisHandle = new WindowInteropHelper(this).Handle.ToInt32(); SetParent(GEHandle, thisHandle);