Dear all,
what is connection of IVsWindowFrame & envdte.window?
I use VSIP thru an addin interface and I can get IVsWindowFrame but I don't
know how to associate those windows with envdte.window.
Of course I can compare captions (
frame.GetProperty(__VSFPROPID.VSFPROPID_Caption, result) ) but it is a bit
ugly. I would better like to have guids. Window.Kind returns the GUID of
envdte.window .
I tried
frame.GetProperty(__VSFPROPID.VSFPROPID_CmdUIGuid, result) but is return
nothing.
Can I get the same GUID thru IVsWindowFrame interface? Any other ideas?
Thanks,
Boni
Boni - 08 Feb 2006 11:21 GMT
Solution found:
frame.GetProperty(__VSFPROPID.VSFPROPID_ExtWindowObject, result)
ctype(result,envdte.window).ObjectKind
Althougth I am still interested in the reverse operation. Get IvsWindowFrame
from dte.window (so far I do it thru workaround)
> Dear all,
> what is connection of IVsWindowFrame & envdte.window?
[quoted text clipped - 11 lines]
> Thanks,
> Boni