Hi,
My solution has 2 projects, 1 standalone WPF Application, and 1 Visual Studio extension that add a menu item to Tools menu. When the menu item is clicked, it will launched the standalone WPF Application.
I am looking to use WindowInteropHelper in the WPF Application like this:
var helper = new WindowInteropHelper(myWindow);
helper.Owner = ownerHandle;
The ownerHandle should be the handle of Visual Studio main window. How do I get this handle?