开发者

Give a tip window when mouse is over a particular text

I am developing an addin to Visual Studio editor. Does anyone 开发者_运维问答know how to provide a tip window in editor?

MSDN lacks enough description as to how the IVsTipWindow interface is used. Please help me out.


I assume you wish to show the user a small window of what to enter without using a message box. If so why not use a tooltip?

ToolTip toolTip1;

Next make a hover event for your control and place this in the method

toolTip1.SetToolTip(sender as Control, "Some text in balloon!");

http://msdn.microsoft.com/en-us/library/system.windows.forms.tooltip.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜