Getting is document pinned or not on Visual Studio 2012 tab bar in extension

I'm wondering is it possible to get is document pinned or not on VS tab bar, since this functionality was added only in 2012 VS it's hard to find any examples of people trying to do something with it. MSDN manual isn't helping on that matter either, because I guess the only way to find something about envDTE is through search.

I thought it should be stored somewhere in EnvDTE.Document or EnvDTE.Window objects but can't see anything related in there. But I'm probably missing something since they're not looking like they've been updated since the old Visual Studio versions.

So my question is - is there any way to achieve this kind of information?


The magic IVsWindowFrame property to query for is __VSFPROPID5.VSPROPID_IsPinned. So once you have an IVsWindowFrame, you can call GetProperty and that'll give you the pinned state.

Need Your Help

Trying to capture IP addresses in wordpress / php script

php wordpress ip

I would like to keep track of IP addresses visiting my site, as it helps determine what content I should host.

Table columns aren't appearing

java swing jtable

Simple as the title says. They just won't appear. I don't know why. BTW, The table is added on a panel that has setLayout(null); So, I don't know if that affects it. I just really don't know where ...