
Signature
Best Regards,
Dustin Campbell
Developer Express, Inc
Hi Boni and Dustin,
The tooltip displayed when hovering over a document window's tab is
actually controled by the VSHPROPID_pszMkDocument property. This is
typically the moniker passed when opening an editor for a particular
document.
In the case where a toolwindow is displayed as a document window, you might
be able to set this explicitly by calling IVsWindowFrame.SetProperty on the
VSHPROPID_pszMkDocument property. I haven't tried it, but it might actually
work for you here.
Sincerely,
Ed Dore [MSFT]
This post is 'AS IS' with no warranties, and confers no rights.
Dustin Campbell - 29 Oct 2005 12:47 GMT
> The tooltip displayed when hovering over a document window's tab is
> actually controled by the VSHPROPID_pszMkDocument property. This is
[quoted text clipped - 5 lines]
> IVsWindowFrame.SetProperty on the VSHPROPID_pszMkDocument property. I
> haven't tried it, but it might actually work for you here.
Hi Ed,
I did see this property and realized that the tool tip was being
generated from it. I tested setting this property and found that it
fails with an HRESULT of: 0x80020003. So, it appears that this can't be
done. In addition, I would expect that setting this property would be
considered a bad idea anyway since I suspect that there are other
packages that rely on it being accurate.

Signature
Best Regards,
Dustin Campbell
Developer Express, Inc
Boni - 31 Oct 2005 13:27 GMT
Hi Ed,
thanks for your reply. Is it possible to add a tooltip to a "non document"
window caption?
> Hi Boni and Dustin,
>
[quoted text clipped - 15 lines]
>
> This post is 'AS IS' with no warranties, and confers no rights.