Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / October 2005

Tip: Looking for answers? Try searching our database.

change toolwindow caption tooltip

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Boni - 28 Oct 2005 00:08 GMT
Dear all,
is it possible to change a toolwindow tooltip (when mouse points on the
caption of tabbed window) to something different from caption text?
Thanks in advance,
Boni
Dustin Campbell - 28 Oct 2005 15:09 GMT
> Dear all,
> is it possible to change a toolwindow tooltip (when mouse points on
> the caption of tabbed window) to something different from caption
> text?  Thanks in advance, Boni

Hi Boni,

I'm failing to see tooltips on tool windows at all. I assume that
you're asking about the tooltips that appear when you mouse over a
document window (the windows that appear in the tabbed document area)?

AFAIK, there isn't a way within an add-in or VSIP to customize the
tooltip on a document window. You can add adjust the text in the
caption. But I don't think that you can specifically change the tooltip.

Signature

Best Regards,
Dustin Campbell
Developer Express, Inc

"Ed Dore [MSFT]" - 28 Oct 2005 23:45 GMT
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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.