Resolved window.hwnd via DTE

What is DTE ?
 
Ah! The Visual Studio Development Tools Environment. Let me move this question out of the General C# Discussion forum and into someplace more appropriate since your question is more about Visual Studio's object model, rather than the C# language itself.
 
So a quick pair of Google searches reveals the DTE.MainWindow returns a Window, and that Window.Hwnd returned the window handle. So why can't you just access DTE.MainWindow.Hwnd ?
 
Maybe you should try providing a FULL and CLEAR explanation of the problem. That would include a description of EXACTLY what you're trying to achieve, how you're trying to achieve it and what happens when you try. Images can help but they are not a substitute for words, so provide an explanation and also post any relevant code and error messages as text, formatted appropriately.
 
Back
Top Bottom