Win32Exception: 无效的窗口句柄。 --NativeErrorCode: 1400 StackTrace: 在 MS.Internal.PointUtil.ScreenToClient(Point pointScreen, PresentationSource presentationSource) 在 System.Windows.Controls.PopupControlService.ConvexHull.ContainsMousePoint() 在 System.Windows.Controls.PopupControlService.MouseHasLeftSafeArea() 在 System.Windows.Controls.PopupControlService.OnMouseMove(IInputElement directlyOver) 在 System.Windows.Controls.PopupControlService.OnPostProcessInput(Object sender, ProcessInputEventArgs e) 在 System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) 在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Win32Exception: 无效的窗口句柄。 --NativeErrorCode: 1400 StackTrace: 在 MS.Win32.UnsafeNativeMethods.GetWindowTextLength(HandleRef hWnd) 在 MS.Win32.UnsafeNativeMethods.GetWindowTextNoThrow(HandleRef hWnd, StringBuilder lpString, Int32 nMaxCount) 在 System.Windows.Automation.Peers.WindowAutomationPeer.GetNameCore() 在 System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree() 在 System.Windows.ContextLayoutManager.fireAutomationEvents() 在 System.Windows.ContextLayoutManager.UpdateLayout() 在 System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) 在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() 在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) 在 System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Win32Exception: 无效的窗口句柄。 --NativeErrorCode: 1400 StackTrace: 在 Standard.NativeMethods.GetWindowPlacement(IntPtr hwnd) 在 System.Windows.Shell.WindowChromeWorker._GetHwndState() 在 System.Windows.Shell.WindowChromeWorker._UpdateSystemMenu(Nullable`1 assumeState) 在 System.Windows.Shell.WindowChromeWorker._HandleWindowPosChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Win32Exception: 无效的窗口句柄。 --NativeErrorCode: 1400 StackTrace: 在 MS.Internal.PointUtil.ScreenToClient(Point pointScreen, PresentationSource presentationSource) 在 System.Windows.Controls.PopupControlService.ConvexHull.ContainsMousePoint() 在 System.Windows.Controls.PopupControlService.MouseHasLeftSafeArea() 在 System.Windows.Controls.PopupControlService.OnMouseMove(IInputElement directlyOver) 在 System.Windows.Controls.PopupControlService.OnPostProcessInput(Object sender, ProcessInputEventArgs e) 在 System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.MouseDevice.Synchronize() 在 System.Windows.Input.InputManager.HitTestInvalidatedAsyncCallback(Object arg) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Win32Exception: 无效的窗口句柄。 --NativeErrorCode: 1400 StackTrace: 在 MS.Internal.PointUtil.ClientToScreen(Point pointClient, PresentationSource presentationSource) 在 System.Windows.Input.MouseDevice.GlobalHitTest(Boolean clientUnits, Point pt, PresentationSource inputSource, IInputElement& enabledHit, IInputElement& originalHit) 在 System.Windows.Input.MouseDevice.PreNotifyInput(Object sender, NotifyInputEventArgs e) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.MouseDevice.Synchronize() 在 System.Windows.Input.InputManager.HitTestInvalidatedAsyncCallback(Object arg) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)