mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-25 03:44:50 +00:00
Try to fix Excel focus issue
This commit is contained in:
@@ -36,8 +36,8 @@ namespace QuickLook.Plugin.IPreviewHandlers
|
||||
_control.Open(file);
|
||||
}), DispatcherPriority.Render);
|
||||
|
||||
//SetForegroundWindow(new WindowInteropHelper(context.ViewerWindow).Handle);
|
||||
//SetActiveWindow(presenter.Handle);
|
||||
SetForegroundWindow(new WindowInteropHelper(context.ViewerWindow).Handle);
|
||||
SetActiveWindow(presenter.Handle);
|
||||
}
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
|
Reference in New Issue
Block a user