Is there a way to get the HWnd pointer to the top window of Visual Studio 2010 from a VSIX extension? (I would like to change the title of the window).
Since there are good chances that your VSIX extension will be running in-process with Visual Studio, you should try this:
System.Diagnostics.Process.GetCurrentProcess().MainWindowHandle
(Note if you do this too early, you'll get VS Splash screen ...)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With